aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-07 01:14:03 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:16 +0200
commit967cfea4a2962c30b780e9d2873250727fd3273f (patch)
tree21f6012d5589fcae835b181ef67e341a6444b351 /PKGBUILD
parent6b979b5cec70045310d77310f8d5fa5c7edf2be8 (diff)
downloadpkgbuilds-967cfea4a2962c30b780e9d2873250727fd3273f.tar.xz
cmusfm: initial importcmusfm
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..fefcf26
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=cmusfm
+pkgver=0.2.5
+pkgrel=1
+
+pkgdesc="Last.fm scrobbler for cmus music player"
+url="https://github.com/Arkq/cmusfm"
+arch=('x86_64' 'i686')
+license=('GPL3')
+
+depends=('cmus' 'curl' 'libnotify')
+
+install=cmusfm.install
+
+source=(cmusfm-"$pkgver".tar.gz::https://github.com/Arkq/cmusfm/archive/v"$pkgver".tar.gz)
+
+sha256sums=('f6f0a2e60a3c00480903035f71339aa4ea8a70d2f64b3ff9a6ea2f75b61543af')
+
+build() {
+ cd cmusfm-"$pkgver"
+ autoreconf --install
+ ./configure --prefix=/usr --enable-libnotify
+ make
+}
+
+package() {
+ cd cmusfm-"$pkgver"
+ make DESTDIR="$pkgdir" install
+}