21 lines
582 B
Bash
21 lines
582 B
Bash
# Template file for 'pngcrush'
|
|
pkgname=pngcrush
|
|
version=1.8.12
|
|
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=1382945b524ab61882250e9d0796afd73a538e2833b51a6ae6e7b0433fc2dd3c
|
|
|
|
pre_build() {
|
|
export LD="$CC"
|
|
}
|
|
post_install() {
|
|
sed -n 10,160p pngcrush.c > LICENSE
|
|
vlicense LICENSE
|
|
}
|