void-packages/srcpkgs/pngcrush/template
2016-09-26 16:37:51 +02:00

21 lines
581 B
Bash

# Template file for 'pngcrush'
pkgname=pngcrush
version=1.8.7
revision=1
build_style=gnu-makefile
wrksrc=${pkgname}-${version}-nolib
makedepends="libpng-devel"
short_desc="Tool for optimizing the compression of PNG files"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="zlib"
homepage="http://pmt.sourceforge.net/pngcrush"
distfiles="${SOURCEFORGE_SITE}/pmt/${pkgname}-${version}-nolib.tar.xz"
checksum=f0cfc0d6f4df67106a184600f891b164875b6be7173111c87bec48a509fac60b
pre_build() {
export LD="$CC"
}
post_install() {
sed -n 10,160p pngcrush.c > LICENSE
vlicense LICENSE
}