# $Id: PKGBUILD 39812 2009-05-21 13:55:09Z jgc $ # Maintainer: Jan de Groot pkgname=poppler pkgver=0.10.7 pkgrel=1 pkgdesc="PDF rendering library based on xpdf 3.0" arch=(arm) license=('GPL') depends=('libjpeg' 'cairo>=1.8.6' 'libxml2>=2.7.3' 'fontconfig>=2.6.0' 'openjpeg>=1.3-3') makedepends=('pkgconfig') optdepends=('poppler-data') options=('!libtool') url="http://poppler.freedesktop.org/" source=(http://poppler.freedesktop.org/${pkgname}-${pkgver}.tar.gz) md5sums=('ba120e49a82567d85d00e159011ebe67') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --enable-cairo-output \ --enable-xpdf-headers \ --enable-libjpeg --enable-zlib \ --disable-poppler-qt4 \ --disable-poppler-glib \ --disable-poppler-qt \ --disable-gtk-test || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }