From ab2790905efe629d588fd7c1416db1ee7a9fdd1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Sun, 30 Mar 2014 12:52:18 -0300 Subject: ocrodjvu --- pcr/python2-djvulibre/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/python2-djvulibre/PKGBUILD (limited to 'pcr/python2-djvulibre/PKGBUILD') 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 +# Contributor: Anton Bazhenov +# Contributor: Malkov Fyodor aka krox + +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}" +} -- cgit v1.2.3-2-g168b