summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD41
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..85fe2065300
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = spotifile
+ pkgdesc = FUSE file system for Spotify
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://github.com/catharsis/spotifile
+ arch = x86_64
+ license = BSD
+ checkdepends = glib2
+ checkdepends = fuse
+ checkdepends = check
+ makedepends = glib2
+ makedepends = fuse
+ makedepends = libspotify
+ depends = glib2
+ depends = fuse
+ depends = libspotify
+ source = https://github.com/catharsis/spotifile/archive/v0.1.1.tar.gz
+ md5sums = 1a55380678960415d4f35a109b2203f3
+
+pkgname = spotifile
+
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"
+}