1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
7 pkgdesc="A utility to reduce unnecessarily large palettes and bit depths in PNG image files"
9 url="http://entropymine.com/jason/pngrewrite/"
12 source=(http://entropymine.com/jason/pngrewrite/$pkgname-$pkgver.zip)
13 md5sums=('983537203b11ca674347a54e19bdd7c1')
16 sed -n '11,30p' readme.txt > COPYING
17 # make CFLAGS="$CFLAGS -DPNG_SETJMP_NOT_SUPPORTED"
22 install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
23 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"