pngcrush: update to 1.8.4.

This commit is contained in:
Duncaen 2016-08-10 13:37:58 +02:00
parent db6991f32a
commit 940a69aafb
1 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,8 @@
# Template file for 'pngcrush'
pkgname=pngcrush
version=1.8.2
version=1.8.4
revision=1
build_style=gnu-makefile
wrksrc=${pkgname}-${version}-nolib
makedepends="libpng-devel"
short_desc="Tool for optimizing the compression of PNG files"
@ -9,14 +10,12 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
license="zlib"
homepage="http://pmt.sourceforge.net/pngcrush"
distfiles="${SOURCEFORGE_SITE}/pmt/${pkgname}-${version}-nolib.tar.xz"
checksum=4a2b4a0445008f0d528cffebd143ca9b15ec41cbc5abb79ce244d6eedaf452b1
checksum=4ef6d790677cf57f622db693337d841b60d62c044e8681299245c298bd56161a
do_build() {
make CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
pre_build() {
export LD="$CC"
}
do_install() {
post_install() {
sed -n 10,160p pngcrush.c > LICENSE
vlicense LICENSE
make DESTDIR="$DESTDIR" install
}