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