summaryrefslogtreecommitdiff
path: root/pcr/python-poppler-qt5/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 12:15:59 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 12:16:07 +0100
commitde0b17bbc55f74dd3ce2892bf1b608a7d4af0806 (patch)
treeeef4c1bb952f31f0e1713022ac36c9a854a5555e /pcr/python-poppler-qt5/PKGBUILD
parent3c8cc474781fca442fe9adda13a463a26666120b (diff)
downloadabslibre-de0b17bbc55f74dd3ce2892bf1b608a7d4af0806.tar.gz
abslibre-de0b17bbc55f74dd3ce2892bf1b608a7d4af0806.tar.bz2
abslibre-de0b17bbc55f74dd3ce2892bf1b608a7d4af0806.zip
pcr/python-poppler-qt5: added
Diffstat (limited to 'pcr/python-poppler-qt5/PKGBUILD')
-rw-r--r--pcr/python-poppler-qt5/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/python-poppler-qt5/PKGBUILD b/pcr/python-poppler-qt5/PKGBUILD
new file mode 100644
index 000000000..68efcf00f
--- /dev/null
+++ b/pcr/python-poppler-qt5/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer (AUR): Johan Reitan (venatux) <johan.reitan@gmail.com>
+# Contributer (AUR): Kenneth Lyons (ixjlyons) <ixjlyons@gmail.com>
+
+# parabola changes and rationale:
+# no changes.
+
+pkgname=python-poppler-qt5
+pkgver=0.24.2
+pkgrel=2
+pkgdesc='Python binding to libpoppler-qt5.'
+arch=('any')
+url='https://github.com/wbsoft/python-poppler-qt5'
+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
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize 1
+}