summaryrefslogtreecommitdiff
path: root/pcr/python2-djvulibre/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-03-31 18:34:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-03-31 18:34:02 -0300
commit0aba2677e3b2fcd2b11b733c82cc4d85c13619b7 (patch)
tree6025d1df5cb3b401e12c067e2ea19a46756baa0f /pcr/python2-djvulibre/PKGBUILD
parent1f706ed0b9c5871ceb3f45fdbe16f628483bdb26 (diff)
parent6220e74b25f00c84b9430ea341d4c7bba083a419 (diff)
downloadabslibre-0aba2677e3b2fcd2b11b733c82cc4d85c13619b7.tar.gz
abslibre-0aba2677e3b2fcd2b11b733c82cc4d85c13619b7.tar.bz2
abslibre-0aba2677e3b2fcd2b11b733c82cc4d85c13619b7.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-djvulibre/PKGBUILD')
-rw-r--r--pcr/python2-djvulibre/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/python2-djvulibre/PKGBUILD b/pcr/python2-djvulibre/PKGBUILD
new file mode 100644
index 000000000..0d648272a
--- /dev/null
+++ b/pcr/python2-djvulibre/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Francois Garillot <francois[@]garillot.net>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Malkov Fyodor aka krox <iksut@yandex.ru>
+
+pkgname=python2-djvulibre
+pkgver=0.3.9
+pkgrel=2
+pkgdesc="A set of Python bindings for the DjVuLibre library"
+arch=('i686' 'x86_64')
+url="http://jwilk.net/software/python-djvulibre"
+license=('GPL2')
+depends=('djvulibre' 'python2')
+makedepends=('cython2')
+source=("http://pypi.python.org/packages/source/p/${pkgname/2}/${pkgname/2}-${pkgver}.tar.gz")
+md5sums=('07d187300ac590c45c4030ce3cd28117')
+
+build() {
+ cd "${srcdir}/${pkgname/2}-${pkgver}"
+ sed -i "s/'cython'/'cython2'/" setup.py
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname/2}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}"
+}