diff options
Diffstat (limited to 'pcr/python2-djvulibre/PKGBUILD')
-rw-r--r-- | pcr/python2-djvulibre/PKGBUILD | 26 |
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}" +} |