summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlad Wenter2015-08-07 15:40:56 +0200
committerAlad Wenter2015-08-07 15:40:56 +0200
commit8cb73a0c76016f1c816c3820f9f736bf531b6f21 (patch)
treefb7c880927982db2cd95e8d953f66c044b3694a7
downloadaur-8cb73a0c76016f1c816c3820f9f736bf531b6f21.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b9edc633c49
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-epub
+ pkgdesc = Python library to open and read epub version 2 archives.
+ pkgver = 0.5.2
+ pkgrel = 1
+ url = http://pypi.python.org/pypi/epub
+ arch = any
+ license = LGPL3
+ source = http://pypi.python.org/packages/source/e/epub/epub-0.5.2.tar.gz
+ md5sums = 8d983520db864e1475c33412bb09f369
+
+pkgname = python-epub
+ depends = python
+
+pkgname = python2-epub
+ depends = python2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66e60963d66
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Alad Wenter
+# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+
+pkgbase='python-epub'
+pkgname=('python-epub' 'python2-epub')
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="Python library to open and read epub version 2 archives."
+arch=('any')
+url=http://pypi.python.org/pypi/epub
+license=('LGPL3')
+source=(http://pypi.python.org/packages/source/e/epub/epub-$pkgver.tar.gz)
+md5sums=('8d983520db864e1475c33412bb09f369')
+
+package_python-epub() {
+ depends=('python')
+
+ cd epub-"$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-epub() {
+ depends=('python2')
+
+ cd epub-"$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sts=2 sw=2 et: