summaryrefslogtreecommitdiff
path: root/community/python2-poppler
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-13 23:14:59 +0000
committerroot <root@rshg054.dnsready.net>2011-11-13 23:14:59 +0000
commit600d5378dadf22b8517d52ac19500594bce4b66d (patch)
tree0bd8bd6283e1aa90b77ad8dba0aa0f258e41a957 /community/python2-poppler
parent559f8739357af66f22f2259e84b21c76b3a66205 (diff)
Sun Nov 13 23:14:59 UTC 2011
Diffstat (limited to 'community/python2-poppler')
-rw-r--r--community/python2-poppler/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/community/python2-poppler/PKGBUILD b/community/python2-poppler/PKGBUILD
index 2b93c0bf0..45587a5d9 100644
--- a/community/python2-poppler/PKGBUILD
+++ b/community/python2-poppler/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 56953 2011-10-17 08:21:15Z ibiru $
+# $Id: PKGBUILD 58362 2011-11-12 10:53:03Z ibiru $
# Maintainer: Ray Rashif <schiv@archlinux.org
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=python2-poppler
_realname=pypoppler
pkgver=0.12.1
-pkgrel=5
+pkgrel=7
pkgdesc="Python 2.x bindings for Poppler"
arch=('i686' 'x86_64')
url="https://launchpad.net/poppler-python"
@@ -15,15 +15,20 @@ provides=('pypoppler' 'python-poppler')
conflicts=('python-poppler')
replaces=('python-poppler')
options=(!libtool)
-source=(http://launchpad.net/poppler-python/trunk/development/+download/$_realname-$pkgver.tar.gz
- pypoppler-0.12.1-poppler-0.16.0.patch)
+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"
+ # poppler 0.16 compat
+ patch -Np0 -i \
+ "$srcdir/pypoppler-0.12.1-poppler-0.16.0.patch"
+
+ # poppler 0.18 compat
+ sed -i "/pixbuf/,/^)/d" poppler.defs
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -36,5 +41,7 @@ build() {
package() {
cd "$srcdir/$_realname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et: