summaryrefslogtreecommitdiff
path: root/pcr/python2-djvulibre
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-djvulibre')
-rw-r--r--pcr/python2-djvulibre/PKGBUILD30
1 files changed, 18 insertions, 12 deletions
diff --git a/pcr/python2-djvulibre/PKGBUILD b/pcr/python2-djvulibre/PKGBUILD
index 19509a37c..3cdd73890 100644
--- a/pcr/python2-djvulibre/PKGBUILD
+++ b/pcr/python2-djvulibre/PKGBUILD
@@ -1,26 +1,32 @@
-# Maintainer (Arch): Francois Garillot <francois[@]garillot.net>
-# Contributor (Arch): Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor (Arch): Malkov Fyodor aka krox <iksut@yandex.ru>
+# Maintainer (AUR): Dmitry Kharitonov <darksab0r@gmail.com>
+# Contributor (AUR): Francois Garillot <francois[@]garillot.net>
+# Contributor (AUR): Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor (AUR): Malkov Fyodor aka krox <iksut@yandex.ru>
+
+# parabola changes and rationale:
+# no changes.
pkgname=python2-djvulibre
-pkgver=0.3.9
-pkgrel=2
-pkgdesc="A set of Python bindings for the DjVuLibre library"
-arch=('i686' 'x86_64')
+_pkgname=python-djvulibre
+pkgver=0.8
+pkgrel=5
+pkgdesc="A set of Python2 bindings for the DjVuLibre library"
+arch=('i686' 'x86_64' 'armv7h')
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')
+source=("https://pypi.io/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('9d6bf3143fa540e8ce330949c9edff7847ad7cd715f7c02e2991212873a5f31b')
build() {
- cd "${srcdir}/${pkgname/2}-${pkgver}"
- sed -i "s/'cython'/'cython2'/" setup.py
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ sed -i "s/'python'/'python2'/" setup.py
python2 setup.py build
}
package() {
- cd "${srcdir}/${pkgname/2}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}"
}
+