diff options
Diffstat (limited to 'extra/netpbm/PKGBUILD')
-rw-r--r-- | extra/netpbm/PKGBUILD | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/extra/netpbm/PKGBUILD b/extra/netpbm/PKGBUILD index 41e3160d9..9f26ba63b 100644 --- a/extra/netpbm/PKGBUILD +++ b/extra/netpbm/PKGBUILD @@ -1,35 +1,30 @@ -# $Id: PKGBUILD 215266 2014-06-18 05:01:53Z eric $ +# $Id: PKGBUILD 216734 2014-07-09 02:07:36Z eric $ # Maintainer: pkgname=netpbm -pkgver=10.66.03 +pkgver=10.67.00 pkgrel=1 pkgdesc="A toolkit for manipulation of graphic images" arch=('i686' 'x86_64') license=('custom' 'BSD' 'GPL' 'LGPL') url="http://netpbm.sourceforge.net/" depends=('perl' 'libpng' 'libtiff' 'libxml2') -makedepends=('python2') +makedepends=('python2' 'jbigkit') options=('!makeflags') -source=(ftp://ftp.archlinux.org/other/packages/netpbm/${pkgname}-${pkgver}.tar.xz{,.sig} \ - ftp://ftp.archlinux.org/other/packages/netpbm/netpbm-doc-31Jan2014.tar.xz{,.sig} \ +# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/ +source=(svn://svn.code.sf.net/p/netpbm/code/advanced + ftp://ftp.archlinux.org/other/packages/netpbm/netpbm-doc-31Jan2014.tar.xz{,.sig} netpbm-CAN-2005-2471.patch netpbm-security-code.patch netpbm-security-scripts.patch) -sha1sums=('b396dfde402b6979a8b551cf60ba1030278a233d' - 'SKIP' +sha1sums=('SKIP' '25a58975bd8cd383238b4ae31f4405c60914faac' 'SKIP' 'b79cf9d42488fea065ba16262ed97694c47af08d' - '4213468c44a63c0575896f6781987a09cfcc2d30' + '4e9d91516d79d2099ba4bd47434e6bb12c52bcc4' 'c67a63c010353de3ecac3ad72ba76bbb85e4ed4c') -# source PKGBUILD && mksource -mksource() { -# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/ - svn checkout svn://svn.code.sf.net/p/netpbm/code/advanced advanced - _pkgver=$(grep MAJOR advanced/version.mk |cut -d ' ' -f 3).$(grep MINOR advanced/version.mk |cut -d ' ' -f 3).0$(grep POINT advanced/version.mk |cut -d ' ' -f 3) - tar -cf ${pkgname}-${_pkgver}.tar.xz advanced - gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${_pkgver}.tar.xz - rm -r advanced +pkgver() { + cd advanced + echo $(grep MAJOR version.mk |cut -d ' ' -f 3).$(grep MINOR version.mk |cut -d ' ' -f 3).0$(grep POINT version.mk |cut -d ' ' -f 3) } prepare() { @@ -48,6 +43,7 @@ prepare() { echo 'JPEGLIB = libjpeg.so' >> config.mk echo 'PNGLIB = libpng.so' >> config.mk echo 'ZLIB = libz.so' >> config.mk + echo 'JBIGLIB = /usr/lib/libjbig.a' >> config.mk sed -i 's|misc|share/netpbm|' common.mk sed -i 's|/link|/lib|' lib/Makefile |