diff options
Diffstat (limited to 'extra/netpbm/PKGBUILD')
-rw-r--r-- | extra/netpbm/PKGBUILD | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/extra/netpbm/PKGBUILD b/extra/netpbm/PKGBUILD index 3b8897594..d2804b774 100644 --- a/extra/netpbm/PKGBUILD +++ b/extra/netpbm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 184413 2013-05-06 19:38:51Z foutrelis $ +# $Id: PKGBUILD 197557 2013-10-26 21:24:07Z eric $ # Maintainer: Kevin Piche <kevin@archlinux.org> pkgname=netpbm pkgver=10.61.02 -pkgrel=2 +pkgrel=3 pkgdesc="A toolkit for manipulation of graphic images" arch=('i686' 'x86_64' 'mips64el') license=('custom' 'BSD' 'GPL' 'LGPL') @@ -34,7 +34,7 @@ mksource() { } prepare() { - cd "${srcdir}/advanced" + cd advanced patch -p1 < ../netpbm-CAN-2005-2471.patch patch -p1 < ../netpbm-security-code.patch @@ -56,26 +56,22 @@ prepare() { } build() { - cd "${srcdir}/advanced" - + cd advanced make - # Generating useful man pages with html doc - cd "${srcdir}/doc" make MAKEMAN="${srcdir}/advanced/buildtools/makeman" USERGUIDE=. \ - -f "${srcdir}/advanced/buildtools/manpage.mk" manpages + -C ../doc -f "${srcdir}/advanced/buildtools/manpage.mk" manpages } package() { - cd "${srcdir}/advanced" + cd advanced make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev # Removing dummy man pages rm "${pkgdir}"/usr/share/man/man{1,3,5}/* - cd "${srcdir}/doc" make MAKEMAN="${srcdir}/advanced/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \ - -f "${srcdir}/advanced/buildtools/manpage.mk" installman + -C ../doc -f "${srcdir}/advanced/buildtools/manpage.mk" installman # Replace obsolete utility echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm" |