summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-11-20 11:33:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-11-20 11:33:50 -0300
commit17745c59ecf15ba89fc3f7d88ad16ac07c600c80 (patch)
tree5456bfc20dba87b93ab5147b44ced84e68569d2f /pcr
parent28db6b4ec97d7057339fca2581f97770a63ad020 (diff)
downloadabslibre-17745c59ecf15ba89fc3f7d88ad16ac07c600c80.tar.gz
abslibre-17745c59ecf15ba89fc3f7d88ad16ac07c600c80.tar.bz2
abslibre-17745c59ecf15ba89fc3f7d88ad16ac07c600c80.zip
python-poppler-qt4: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-poppler-qt4/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/python-poppler-qt4/PKGBUILD b/pcr/python-poppler-qt4/PKGBUILD
new file mode 100644
index 000000000..0aae0843b
--- /dev/null
+++ b/pcr/python-poppler-qt4/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer (Arch): Johan Reitan <johan.reitan at gmail dot com>
+# Contributor (Arch): Philip Lorenz <lorenzph@users.sourceforge.net>
+pkgname=python-poppler-qt4
+_realpkgname=python-poppler-qt4
+pkgver=0.24.0
+pkgrel=1
+pkgdesc="A Python 3 binding to poppler-qt4"
+arch=('i686' 'x86_64')
+url="https://github.com/wbsoft/python-poppler-qt4"
+license=('LGPL')
+depends=('python-pyqt4' 'poppler-qt4')
+conflicts=('python-poppler-qt')
+replaces=('python-poppler-qt')
+source=(https://github.com/wbsoft/$_realpkgname/archive/v$pkgver.tar.gz)
+sha256sums=('164297bcb03dc0cd943342915bf49e678db13957ebc2f1f3bd988f04145fb236')
+
+_build_ext_args="--qmake-bin=/usr/bin/qmake-qt4"
+
+build() {
+ cd "$srcdir/$_realpkgname-$pkgver"
+
+ python setup.py build_ext ${_build_ext_args}
+}
+
+package() {
+ cd "$srcdir/$_realpkgname-$pkgver"
+
+ python setup.py install --root="${pkgdir}" \
+ build_ext ${_build_ext_args}
+}
+
+# vim:set ts=2 sw=2 et: