diff options
author | Dmitry Kharitonov | 2015-07-11 18:20:24 +0500 |
---|---|---|
committer | Dmitry Kharitonov | 2015-07-11 18:20:24 +0500 |
commit | fc5cc481fb99b9c796ddcba068236972326b359f (patch) | |
tree | 367493b59b8bf20256b054b68a861b9f01031016 | |
download | aur-fc5cc481fb99b9c796ddcba068236972326b359f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..290bad04cc70 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-djvulibre + pkgdesc = A set of Python bindings for the DjVuLibre library + pkgver = 0.3.10 + pkgrel = 1 + url = http://jwilk.net/software/python-djvulibre + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = cython2 + depends = djvulibre + depends = python2 + source = http://pypi.python.org/packages/source/p/python-djvulibre/python-djvulibre-0.3.10.tar.gz + sha256sums = 42dd12a71ca44dc1325f6ef5a8e5c223d01aef1bd2f4c76c9d7c499b825d0f7a + +pkgname = python-djvulibre + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c8be9774f4f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Dmitry Kharitonov <darksab0r@gmail.com> +# Contributor: Francois Garillot <francois[@]garillot.net> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Malkov Fyodor aka krox <iksut@yandex.ru> + +pkgname=python-djvulibre +pkgver=0.3.10 +pkgrel=1 +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}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('42dd12a71ca44dc1325f6ef5a8e5c223d01aef1bd2f4c76c9d7c499b825d0f7a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i "s/'cython'/'cython2'/" setup.py + python2 setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" +} |