summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederick Gnodtke2016-09-20 10:28:22 +0200
committerFrederick Gnodtke2016-09-20 10:28:22 +0200
commit761492bc6df61eb96687685ec3e8320d01ebb617 (patch)
treeb4b4943dc43bcd0790ef3ca9f85a0a1630d3e427
downloadaur-761492bc6df61eb96687685ec3e8320d01ebb617.tar.gz
Initial commit. Added PKGBUILD.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a746f359338
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python2-pysonic
+ pkgdesc = A python library to wrap the Subsonic REST API
+ pkgver = 0.5.1
+ pkgrel = 1
+ url = https://github.com/crustymonkey/py-sonic
+ arch = any
+ license = GPL3
+ makedepends = python2
+ depends = python2-setuptools
+ provides = python2-pysonic
+ source = https://github.com/crustymonkey/py-sonic/archive/0.5.1.tar.gz
+ sha256sums = a1d44fd008c63da8f968c2c07a51097ff78b1990937600a3e81c80a06e35a0b7
+
+pkgname = python2-pysonic
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..30fcae7cbd0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+#Maintainer: Frederick Gnodtke <fgnodtke at cronosx dot de>
+
+pkgname=python2-pysonic
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="A python library to wrap the Subsonic REST API"
+arch=('any')
+url="https://github.com/crustymonkey/py-sonic"
+license=('GPL3')
+depends=(
+ 'python2-setuptools')
+makedepends=('python2')
+provides=('python2-pysonic')
+source=("https://github.com/crustymonkey/py-sonic/archive/${pkgver}.tar.gz")
+sha256sums=('a1d44fd008c63da8f968c2c07a51097ff78b1990937600a3e81c80a06e35a0b7')
+
+package() {
+ cd "$srcdir/py-sonic-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}