# $Id: PKGBUILD 39814 2009-05-21 13:57:26Z jgc $ # Maintainer: Jan de Groot pkgname=poppler-glib pkgver=0.10.7 pkgrel=1 pkgdesc="Poppler glib bindings" arch=(i686 x86_64) license=('GPL') depends=('gtk2>=2.16.0' "poppler>=${pkgver}") makedepends=('pkgconfig') options=('!libtool') url="http://poppler.freedesktop.org/" source=(http://poppler.freedesktop.org/poppler-${pkgver}.tar.gz poppler-0.10-bindings.patch) md5sums=('ba120e49a82567d85d00e159011ebe67' '3f828a8372687c6c0ca88925ff4f5036') build() { cd "${srcdir}/poppler-${pkgver}" patch -Np1 -i "${srcdir}/poppler-0.10-bindings.patch" || return 1 libtoolize --force --copy || return 1 AT_M4DIR="m4" autoreconf -i || return 1 ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --enable-zlib \ --enable-libjpeg \ --enable-cairo-output \ --enable-poppler-glib \ --disable-poppler-qt4 \ --disable-poppler-qt || return 1 pushd poppler || return 1 make libpoppler-cairo.la || return 1 popd make || return 1 make DESTDIR="${pkgdir}" install || return 1 }