summaryrefslogtreecommitdiff
path: root/pcr/python2-djvulibre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-30 12:52:18 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-30 12:52:18 -0300
commitab2790905efe629d588fd7c1416db1ee7a9fdd1d (patch)
tree4a733781834d8fc60a4e320932d0cc25e5ca1b0a /pcr/python2-djvulibre
parent293cf96700b000c3c8d19322563c109a0963d1c2 (diff)
downloadabslibre-ab2790905efe629d588fd7c1416db1ee7a9fdd1d.tar.gz
abslibre-ab2790905efe629d588fd7c1416db1ee7a9fdd1d.tar.bz2
abslibre-ab2790905efe629d588fd7c1416db1ee7a9fdd1d.zip
ocrodjvu
Diffstat (limited to 'pcr/python2-djvulibre')
-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}"
+}