23 lines
631 B
Bash
23 lines
631 B
Bash
# Template file for 'pngcrush'
|
|
pkgname=pngcrush
|
|
version=1.7.91
|
|
revision=1
|
|
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=e4dc59204f795c88ca0dfe9c5d142fa0abe14d49702e8ed34b4b7a30ffd824d4
|
|
|
|
do_build() {
|
|
make CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
do_install() {
|
|
sed -n 10,160p pngcrush.c > LICENSE
|
|
vlicense LICENSE
|
|
make DESTDIR="$DESTDIR" install
|
|
}
|