PKGBUILDs/extra/poppler/PKGBUILD
2009-11-22 03:13:47 -08:00

30 lines
934 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
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
}