extra/netpbm to 10.73.37-2

This commit is contained in:
David Beauchamp 2022-08-27 10:36:00 -04:00
parent 5c75f2c460
commit 1f37c2c975
2 changed files with 39 additions and 8 deletions

View file

@ -5,13 +5,13 @@
pkgname=netpbm pkgname=netpbm
pkgver=10.73.37 pkgver=10.73.37
pkgrel=1 pkgrel=2
pkgdesc="A toolkit for manipulation of graphic images" pkgdesc="A toolkit for manipulation of graphic images"
arch=('x86_64') arch=('x86_64')
license=('custom' 'BSD' 'GPL' 'LGPL') license=('custom' 'BSD' 'GPL' 'LGPL')
url="http://netpbm.sourceforge.net/" url="http://netpbm.sourceforge.net/"
depends=('perl' 'libpng' 'libtiff' 'libxml2') depends=('perl' 'libpng' 'libtiff' 'libxml2')
makedepends=('python2' 'jbigkit' 'subversion') makedepends=('jbigkit' 'subversion')
options=('!makeflags') options=('!makeflags')
# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/ # Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
source=(https://downloads.sourceforge.net/project/netpbm/super_stable/$pkgver/netpbm-$pkgver.tgz source=(https://downloads.sourceforge.net/project/netpbm/super_stable/$pkgver/netpbm-$pkgver.tgz
@ -36,8 +36,8 @@ prepare() {
patch -p1 < ../netpbm-security-scripts.patch patch -p1 < ../netpbm-security-scripts.patch
patch -p1 < ../reproducible-man-gzip.patch patch -p1 < ../reproducible-man-gzip.patch
patch -p1 < ../use-source-date-epoch.patch patch -p1 < ../use-source-date-epoch.patch
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' buildtools/makeman # sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' buildtools/makeman
sed -i 's|@python|@python2|' buildtools/manpage.mk # sed -i 's|@python|@python2|' buildtools/manpage.mk
cp config.mk.in config.mk cp config.mk.in config.mk
[ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk [ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
@ -59,8 +59,9 @@ build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
make make
# Generating useful man pages with html doc # Generating useful man pages with html doc
make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" USERGUIDE=. \ # TODO: Enable when we have it updated
-C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" manpages # make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" USERGUIDE="-v ." \
# -C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" manpages
} }
package() { package() {
@ -70,8 +71,8 @@ package() {
# Removing dummy man pages # Removing dummy man pages
rm "${pkgdir}"/usr/share/man/man{1,3,5}/* rm "${pkgdir}"/usr/share/man/man{1,3,5}/*
make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \ # make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \
-C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" installman # -C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" installman
# Replace obsolete utility # Replace obsolete utility
echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm" echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm"

View file

@ -0,0 +1,30 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBE2uPGoBCADRwwKRvWByYVE0603LkklzYjpCtfSQRWASQnozo9ZcUMxNXr8x
zKxzLZKIh6eTCNpizI0e3WNSN/+rDcen9dJiycPKodWTNRjfCgwW5pr92pwXjHIh
uKGwXrGN4iV0J7E9mLroxjKcSSqMZV7BEK3TGWdSW1dh7D09MexUUfSlKKKVmgY3
CWhMLYolVVrLIczIvkRi4bRDAQi57nqQvgk//NTjmfZnA/XaxM57bXj/gCKvcRE7
jPruwAN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