summaryrefslogtreecommitdiff
path: root/pcr/python-poppler-qt5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python-poppler-qt5/PKGBUILD')
-rw-r--r--pcr/python-poppler-qt5/PKGBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/pcr/python-poppler-qt5/PKGBUILD b/pcr/python-poppler-qt5/PKGBUILD
index 68efcf00f..781b6928c 100644
--- a/pcr/python-poppler-qt5/PKGBUILD
+++ b/pcr/python-poppler-qt5/PKGBUILD
@@ -5,27 +5,20 @@
# no changes.
pkgname=python-poppler-qt5
-pkgver=0.24.2
-pkgrel=2
+pkgver=0.25.1
+pkgrel=1
pkgdesc='Python binding to libpoppler-qt5.'
arch=('any')
-url='https://github.com/wbsoft/python-poppler-qt5'
+# url="https://github.com/wbsoft/${pkgname}"
+url="https://github.com/zehome/$pkgname"
license=('LGPL')
depends=('python-pyqt5' 'poppler-qt5')
-makedepends=('python-sip')
-provides=('python-poppler-qt5')
-conflicts=('python-poppler-qt5')
-source=(https://github.com/wbsoft/python-poppler-qt5/archive/v${pkgver}.tar.gz
- ${pkgname}-${pkgver}.patch)
-sha256sums=('542b5ab183e95debd4e05642425da6914e1b5c5a98a8c94752833d5b5ca7289b'
- '503c6e0eded717d82cab98459cf10b1eddee73ed45df441f79889aa05e8dcf74')
-
-prepare() {
- cd $srcdir/$pkgname-$pkgver
- patch -p1 -i $srcdir/$pkgname-$pkgver.patch
-}
+makedepends=('python-sip-pyqt5' 'python-sip' 'sip' 'python-setuptools')
+# source=("https://github.com/wbsoft/${pkgname}/archive/v${pkgver}.tar.gz")
+source=("https://github.com/zehome/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('f3d0f649964872275bd8e5ac45b9a7915ca18a4b2a46de904cd920e2c67a8627')
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$pkgname-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize 1
}