summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2015-06-12 12:08:58 +0100
committermschubert2015-06-12 12:08:58 +0100
commitbbe021127dcd889f84367f1a1de6d90337e12527 (patch)
tree545591fad8c04928485387d9f656bfee70cc645b /PKGBUILD
downloadaur-python2-zotero.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b688020d72f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+
+pkgname=python2-zotero
+_pkgname=py${pkgname#python2-}
+pkgver=0.9.9
+pkgrel=2
+pkgdesc="A Python wrapper fro the Zotero API"
+arch=('any')
+url="https://github.com/urschrei/pyzotero"
+license=('GPL')
+depends=('python2-feedparser' 'python2-poster' 'python2-pytz')
+source=("https://github.com/urschrei/pyzotero/archive/v$pkgver.tar.gz")
+md5sums=('608419f9fd9fcd1cb1d78695985a9bee')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+