mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/netpbm to 10.61.02-3
This commit is contained in:
parent
6b7e1916f6
commit
3a284aabfa
1 changed files with 6 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
pkgname=netpbm
|
pkgname=netpbm
|
||||||
pkgver=10.61.02
|
pkgver=10.61.02
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A toolkit for manipulation of graphic images"
|
pkgdesc="A toolkit for manipulation of graphic images"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('custom' 'BSD' 'GPL' 'LGPL')
|
license=('custom' 'BSD' 'GPL' 'LGPL')
|
||||||
|
@ -37,7 +37,7 @@ mksource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/advanced"
|
cd advanced
|
||||||
|
|
||||||
patch -p1 < ../netpbm-CAN-2005-2471.patch
|
patch -p1 < ../netpbm-CAN-2005-2471.patch
|
||||||
patch -p1 < ../netpbm-security-code.patch
|
patch -p1 < ../netpbm-security-code.patch
|
||||||
|
@ -60,26 +60,23 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/advanced"
|
cd advanced
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
# Generating useful man pages with html doc
|
# Generating useful man pages with html doc
|
||||||
cd "${srcdir}/doc"
|
|
||||||
make MAKEMAN="${srcdir}/advanced/buildtools/makeman" USERGUIDE=. \
|
make MAKEMAN="${srcdir}/advanced/buildtools/makeman" USERGUIDE=. \
|
||||||
-f "${srcdir}/advanced/buildtools/manpage.mk" manpages
|
-C ../doc -f "${srcdir}/advanced/buildtools/manpage.mk" manpages
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/advanced"
|
cd advanced
|
||||||
make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev
|
make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev
|
||||||
|
|
||||||
# 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}/*
|
||||||
|
|
||||||
cd "${srcdir}/doc"
|
|
||||||
make MAKEMAN="${srcdir}/advanced/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \
|
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
|
# 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"
|
||||||
|
|
Loading…
Reference in a new issue