summaryrefslogtreecommitdiff
path: root/libre/netpbm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/netpbm/PKGBUILD')
-rw-r--r--libre/netpbm/PKGBUILD50
1 files changed, 23 insertions, 27 deletions
diff --git a/libre/netpbm/PKGBUILD b/libre/netpbm/PKGBUILD
index 9da6a53d9..06a204793 100644
--- a/libre/netpbm/PKGBUILD
+++ b/libre/netpbm/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id$
+# $Id: PKGBUILD 264943 2016-04-14 11:29:39Z arojas $
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: André Silva <emulatorman@parabola.nu>
_pkgname=netpbm-libre
pkgname=netpbm
-pkgver=10.69.02
-pkgrel=1.parabola2
+pkgver=10.73
+_rev=r2692
+pkgrel=1.parabola1
pkgdesc="A toolkit for manipulation of graphic images, without nonfree parts and patent issues"
arch=('i686' 'x86_64' 'armv7h')
license=('custom' 'BSD' 'GPL' 'LGPL')
@@ -14,35 +15,30 @@ depends=('perl' 'libpng' 'libtiff' 'libxml2')
makedepends=('python2' 'jbigkit' 'subversion')
options=('!makeflags')
# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
-mksource=(svn://svn.code.sf.net/p/netpbm/code/advanced)
+mksource=(svn://svn.code.sf.net/p/netpbm/code/stable#revision=$_rev)
source=(https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
https://sources.archlinux.org/other/packages/netpbm/netpbm-doc-31Jan2014.tar.xz{,.sig}
netpbm-CAN-2005-2471.patch netpbm-security-code.patch netpbm-security-scripts.patch)
mksha1sums=('SKIP')
-sha1sums=('ab442ef64af90f59a121a34e5da587233b6463e6'
+sha1sums=('757825cb27458a73026a2956bdd91745c918917f'
'25a58975bd8cd383238b4ae31f4405c60914faac'
'SKIP'
'b79cf9d42488fea065ba16262ed97694c47af08d'
- 'b0b0168605741a29b96b852d0ba8bae94c96b1bd'
- 'c67a63c010353de3ecac3ad72ba76bbb85e4ed4c')
+ 'af0b348b0d5f863fcf742167bd7f08d5a3a8140b'
+ 'ca61aabdeb24a6421781ca975719ce7314be2bb9')
validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
-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)
-}
-
mksource() {
- cd advanced
+ cd stable
- #Removing hpcdtoppm/pcdindex (non comercial)
+ # Removing hpcdtoppm/pcdindex (non comercial)
rm -rv converter/ppm/hpcdtoppm
- #Removing ppmtogif/giftopnm (patent restriction)
+ # Removing ppmtogif/giftopnm (patent restriction)
rm -v converter/other/giftopnm.c converter/ppm/ppmtogif.c
rm -v test/gif-quant-roundtrip.test test/gif-roundtrip.test test/all-in-place.ok
- #Removing programs without license information
+ # Removing programs without license information
rm -v other/pamchannel.c test/pamchannel.ok
rm -v converter/other/pamtopnm.c
rm -v converter/pbm/pbmto4425.c
@@ -62,21 +58,21 @@ mksource() {
}
prepare() {
- cd advanced
+ cd stable
- #Removing references about hpcdtoppm/pcdindex (non comercial)
+ # Removing references about hpcdtoppm/pcdindex (non comercial)
sed -i 's/hpcdtoppm//g' converter/ppm/Makefile
sed -i 's/hpcdtoppm\.1//g' buildtools/manpage.mk
sed -i 's/pcdindex\.1//g' buildtools/manpage.mk
- #Removing references about ppmtogif/giftopnm (patent restriction)
+ # Removing references about ppmtogif/giftopnm (patent restriction)
sed -i 's/ppmtogif//g' converter/ppm/Makefile test/all-in-place.test
sed -i 's/ppmtogif\.1//g' buildtools/manpage.mk
sed -i 's/giftopnm//g' converter/other/Makefile test/all-in-place.test
sed -i 's/giftopnm\.1//g' buildtools/manpage.mk
sed -i '/giftopnm/d' converter/other/pnmtopalm/README
- #Removing references about programs without license information
+ # Removing references about programs without license information
sed -i 's/pamchannel//g' other/Makefile test/all-in-place.test
sed -i 's/pamchannel\.1//g' buildtools/manpage.mk
sed -i 's/pamchannel\.test//g' test/Test-Order
@@ -131,27 +127,27 @@ prepare() {
}
build() {
- cd advanced
+ cd stable
make
# Generating useful man pages with html doc
- make MAKEMAN="${srcdir}/advanced/buildtools/makeman" USERGUIDE=. \
- -C ../doc -f "${srcdir}/advanced/buildtools/manpage.mk" manpages
+ make MAKEMAN="${srcdir}/stable/buildtools/makeman" USERGUIDE=. \
+ -C ../doc -f "${srcdir}/stable/buildtools/manpage.mk" manpages
}
package() {
- cd advanced
+ cd stable
make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev
# Removing dummy man pages
rm "${pkgdir}"/usr/share/man/man{1,3,5}/*
- make MAKEMAN="${srcdir}/advanced/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \
- -C ../doc -f "${srcdir}/advanced/buildtools/manpage.mk" installman
+ make MAKEMAN="${srcdir}/stable/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \
+ -C ../doc -f "${srcdir}/stable/buildtools/manpage.mk" installman
# Replace obsolete utility
echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm"
# Licensing. Note that each program in the package has a separate license.
- install -D -m644 "${srcdir}/advanced/doc/copyright_summary" \
+ install -D -m644 "${srcdir}/stable/doc/copyright_summary" \
"${pkgdir}/usr/share/licenses/${pkgname}/copyright_summary.txt"
}