summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnton Lofgren2015-08-11 10:27:27 +0200
committerAnton Lofgren2015-08-11 10:27:27 +0200
commit281d964e95ce565f4549ec7433bf201c2701f43c (patch)
tree521a761e7b315e63f01e24732013cd3800b6f0b2 /PKGBUILD
downloadaur-281d964e95ce565f4549ec7433bf201c2701f43c.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0c0074e7225
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Anton Löfgren <anton.lofgren@gmail.com>
+pkgname=spotifile
+pkgver=0.1.1
+pkgrel=1
+epoch=
+pkgdesc="FUSE file system for Spotify"
+arch=(x86_64)
+url="https://github.com/catharsis/spotifile"
+license=('BSD')
+groups=()
+depends=(glib2 fuse libspotify)
+makedepends=(glib2 fuse libspotify)
+checkdepends=(glib2 fuse check)
+backup=()
+options=()
+install=
+changelog=
+source=("https://github.com/catharsis/$pkgname/archive/v$pkgver.tar.gz")
+noextract=()
+md5sums=(1a55380678960415d4f35a109b2203f3)
+validpgpkeys=()
+
+build() {
+ cd "$pkgname-$pkgver"
+ autoreconf -si
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ #Install license
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}