updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / pdfktools-servicemenu-kde4 / PKGBUILD
blob7879f59f5ce0f98e609124d8a34bfa44c6581b33
1 # Maintainer: garion < garion @ mailoo.org >
3 pkgname=pdfktools-servicemenu-kde4
4 pkgver=0.2.5
5 pkgrel=1
6 pkgdesc="Tools for PDF files"
7 arch=('i686' 'x86_64')
8 url="http://kde-apps.org/content/show.php?content=137502"
9 license=('GPL')
10 depends=('kdebase-kdialog' 'ghostscript' 'perl-exiftool' 'poppler')
11 source=(http://kde-apps.org/CONTENT/content-files/137502-$pkgname-$pkgver.tar.gz)
12 #source=("$pkgname-$pkgver.tar.gz")
13 md5sums=('8d76550fc376609beb189413a82055a2')
15 build() {
16   cd $srcdir/$pkgname
17   sed -i -e "s!\$(kde4-config --prefix)!$pkgdir\$(kde4-config --prefix)!g" install_as_root.sh
20 package(){
21   cd $srcdir/$pkgname
22   ./install_as_root.sh
23   msg "Patch for exiftool"
24   ln -s /usr/bin/perlbin/vendor/exiftool $pkgdir/usr/bin/exiftool