summaryrefslogtreecommitdiff
path: root/community/python2-poppler/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/python2-poppler/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/python2-poppler/PKGBUILD')
-rw-r--r--community/python2-poppler/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/python2-poppler/PKGBUILD b/community/python2-poppler/PKGBUILD
new file mode 100644
index 000000000..5dae427ec
--- /dev/null
+++ b/community/python2-poppler/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 42185 2011-03-15 10:57:39Z jelle $
+# Maintainer: Ray Rashif <schiv@archlinux.org
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=python2-poppler
+_realname=pypoppler
+pkgver=0.12.1
+pkgrel=4
+pkgdesc="Python 2.x bindings for Poppler"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/poppler-python"
+license=('GPL')
+depends=('pygtk' 'poppler-glib')
+provides=('pypoppler' 'python-poppler')
+conflicts=('python-poppler')
+replaces=('python-poppler')
+options=(!libtool force)
+source=(http://launchpad.net/poppler-python/trunk/development/+download/$_realname-$pkgver.tar.gz
+ pypoppler-0.12.1-poppler-0.16.0.patch)
+md5sums=('1a89e5ed3042afc81bbd4d02e0cf640a'
+ '683c5b67866d56adc2494120cc329dc8')
+
+build() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ patch -Np0 -i "$srcdir/pypoppler-0.12.1-poppler-0.16.0.patch"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}