From 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd Mon Sep 17 00:00:00 2001 From: root Date: Fri, 4 Nov 2011 23:14:51 +0000 Subject: Fri Nov 4 23:14:51 UTC 2011 --- community/pdfedit/PKGBUILD | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'community/pdfedit') diff --git a/community/pdfedit/PKGBUILD b/community/pdfedit/PKGBUILD index 84b9416c7..4da652f91 100644 --- a/community/pdfedit/PKGBUILD +++ b/community/pdfedit/PKGBUILD @@ -1,37 +1,40 @@ +# Maintainer: Lukas Fleischer # Contributor: Firmicus -# Maintainer: Daniel J Griffiths +# Contributor: Daniel J Griffiths pkgname=pdfedit pkgver=0.4.5 -pkgrel=1 +pkgrel=2 pkgdesc='Full featured editor for manipulating PDF documents' arch=('i686' 'x86_64') url='http://pdfedit.petricek.net/index_e.html' license=('GPL') depends=('qt3' 't1lib' 'gsfonts') makedepends=('boost' 'doxygen') -source=(http://downloads.sourceforge.net/pdfedit/${pkgname}-${pkgver}.tar.bz2 - 'pdfedit.png' 'pdfedit.desktop') +source=("http://downloads.sourceforge.net/pdfedit/${pkgname}-${pkgver}.tar.bz2" + 'pdfedit.png' + 'pdfedit.desktop') md5sums=('80502ee7f08cdfb867ffdaa92d160a23' '70fd938b2ef9da748a093df7e20d1d7d' 'c0572c2dd54065322321718aa49ed6b8') build() { - . /etc/profile.d/qt3.sh - export PATH=$QTDIR/bin:$PATH - export QMAKESPEC=$QTDIR/mkspecs/linux-g++ + . /etc/profile.d/qt3.sh + export PATH="$QTDIR/bin:$PATH" + export QMAKESPEC="$QTDIR/mkspecs/linux-g++" - cd ${srcdir}/${pkgname}-${pkgver} - sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' src/xpdf/xpdf/GlobalParams.cc || return 1 - ./configure --prefix=/usr --with-qmake=/opt/qt/bin/qmake - make || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' src/xpdf/xpdf/GlobalParams.cc + ./configure --prefix=/usr --with-qmake=/opt/qt/bin/qmake + make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" - make INSTALL_ROOT=${pkgdir} install + make INSTALL_ROOT="${pkgdir}" install - install -D -m644 ../pdfedit.desktop ${pkgdir}/usr/share/applications/pdfedit.desktop - install -D -m644 ../pdfedit.png ${pkgdir}/usr/share/pixmaps/pdfedit.png + install -Dm0644 ../pdfedit.desktop "${pkgdir}/usr/share/applications/pdfedit.desktop" + install -Dm0644 ../pdfedit.png "${pkgdir}/usr/share/pixmaps/pdfedit.png" } -- cgit v1.2.3-54-g00ecf