summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormschubert2015-06-12 12:08:58 +0100
committermschubert2015-06-12 12:08:58 +0100
commitbbe021127dcd889f84367f1a1de6d90337e12527 (patch)
tree545591fad8c04928485387d9f656bfee70cc645b
downloadaur-python2-zotero.tar.gz
Initial import
-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..e09dfb863bc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python2-zotero
+ pkgdesc = A Python wrapper fro the Zotero API
+ pkgver = 0.9.9
+ pkgrel = 2
+ url = https://github.com/urschrei/pyzotero
+ arch = any
+ license = GPL
+ depends = python2-feedparser
+ depends = python2-poster
+ depends = python2-pytz
+ source = https://github.com/urschrei/pyzotero/archive/v0.9.9.tar.gz
+ md5sums = 608419f9fd9fcd1cb1d78695985a9bee
+
+pkgname = python2-zotero
+
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"
+}
+