[arch-commits] Commit in netpbm/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Tue Jan 4 20:54:48 UTC 2011


    Date: Tuesday, January 4, 2011 @ 15:54:47
  Author: eric
Revision: 104760

upgpkg: netpbm 10.47.24-1
Upstream update, Fixed for python2 (close FS#22307)

Modified:
  netpbm/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-04 20:54:04 UTC (rev 104759)
+++ PKGBUILD	2011-01-04 20:54:47 UTC (rev 104760)
@@ -1,28 +1,28 @@
 # $Id$
 # Maintainer: Kevin Piche <kevin at archlinux.org>
-# Contributor: Jochem Kossen <j.kossen at home.nl>
 
 pkgname=netpbm
-pkgver=10.47.18
+pkgver=10.47.24
 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' 'libjpeg' 'libpng' 'libtiff' 'libxml2')
-makedepends=('python')
+makedepends=('python2')
 options=('!makeflags')
 # Releases after 10.34 are available via SVN only.
-# Get stable tarball here: http://netpbm.sourceforge.net/release.html#tarball
-# get doc with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
+# Get Stable tarball here: http://netpbm.sourceforge.net/release.html#tarball
+# Get version number in version.mk
+# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
 source=(ftp://ftp.archlinux.org/other/netpbm/${pkgname}-${pkgver}.tar.gz \
         ftp://ftp.archlinux.org/other/netpbm/netpbm-doc-22Feb2009.tar.xz \
         libpng-1.4.patch netpbm-CAN-2005-2471.patch \
         netpbm-security-code.patch netpbm-security-scripts.patch)
-md5sums=('c3b66d329f818b6b4f02f7367ce1a6f8' '48efce0093c5f242bce3072958fe88c3'\
+md5sums=('debf962e9a5531fd3e57143d38165eac' '48efce0093c5f242bce3072958fe88c3'\
          '6a8319e77f2d41881ee11c86b78c51d0' '07ee863e6f951250e8d0a08243c828c7'\
          'fac4c9bedff9d90ac5a66e93d8c2eb33' 'cbb689129c82d16360d7f840b86789c7')
-sha1sums=('d670574754f161e37534c16f86ebda08a4266774' 'dfeba9f9a5fe987d64db0aadb5ca8c1b20fcead2'\
+sha1sums=('02a85bffb8d5771011c17067e07fded26a455ee9' 'dfeba9f9a5fe987d64db0aadb5ca8c1b20fcead2'\
          'ab2e67374871b8b6c0c8b69a24e3502e68487759' '456b76004622479f6ee81107c54b5211a1663a6a'\
          '5af979e8fb7d3bbb7e731eed62326bb594bc91b3' '2ac31f714121e08e47af9337c6bbaab3cbfc5c75')
 
@@ -32,6 +32,8 @@
   patch -p1 < ../netpbm-CAN-2005-2471.patch
   patch -p1 < ../netpbm-security-code.patch
   patch -p1 < ../netpbm-security-scripts.patch
+  sed -i 's|#!/bin/env python|#!/bin/env python2|' buildtools/makeman
+  sed -i 's|@python|@python2|' buildtools/manpage.mk
 
   cp config.mk.in  config.mk
   [ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk




More information about the arch-commits mailing list