1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="library to implement the PDF file format"
7 url="http://www.gnupdf.org"
9 depends=('check-svn' 'libjpeg' 'jbig2dec' 'curl' 'libgcrypt')
10 makedepends=('bzr' 'gawk' 'texi2html')
15 _bzrtrunk="http://bzr.savannah.gnu.org/r/pdf/libgnupdf/trunk"
20 if [[ -d $_bzrmod/.bzr ]]; then
21 (cd $_bzrmod && bzr update -v && cd ..)
22 msg "Local checkout updated or server timeout"
24 bzr co --lightweight -v $_bzrtrunk $_bzrmod
25 msg "Checkout done or server timeout"
30 [ -d $_bzrmod-build ] && rm -rf $_bzrmod-build
31 cp -r $_bzrmod $_bzrmod-build
32 cd $srcdir/$_bzrmod-build
34 ./configure --prefix=/usr
38 cd $srcdir/$_bzrmod-build
39 make DESTDIR="$pkgdir/" install