New package: pngcrush-1.7.88
This commit is contained in:
parent
c65b1d8029
commit
01a60c43dc
22
srcpkgs/pngcrush/template
Normal file
22
srcpkgs/pngcrush/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'pngcrush'
|
||||
pkgname=pngcrush
|
||||
version=1.7.88
|
||||
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="GPL-3"
|
||||
homepage="http://pmt.sourceforge.net/pngcrush"
|
||||
distfiles="${SOURCEFORGE_SITE}/pmt/${pkgname}-${version}-nolib.tar.xz"
|
||||
checksum=d8fdfa25951465651b8f791bec3dc71acc4a752685885b41646f423a609f4855
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user