1 # Maintainer: veox <veox at wre dot ath dot cx>
2 # Contributor: Nikita "dragon_djanic" Bukhvostov <dragon.djanic@gmail.com>
7 pkgdesc="An old version of KDE's PDF reader, made obsolete by Occular."
8 url="http://sourceforge.net/projects/kpdf2"
11 depends=(kdelibs qt libpng libjpeg zlib)
12 makedepends=(pkgconfig doxygen perl)
13 conflicts=(kdegraphics)
14 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
15 generator_pdf.h.patch)
16 md5sums=('2986bb22a692eb7e97d21bf0e69ce02f' 'e0d79996666ab1ac6ee983516a8e6fd9')
19 cd $srcdir/$pkgname-$pkgver
21 echo "Patching generator_pdf.h..."
22 patch ./kpdf/core/generator_pdf/generator_pdf.h $srcdir/generator_pdf.h.patch || return 1
25 ./configure --prefix=`kde-config --prefix` --with-qt-dir=/opt/qt --without-arts
27 make DESTDIR=$startdir/pkg install