# Contributor: Kiyoshi Aman # Maintainer: Fabian Affolter pkgname=pngcrush pkgver=1.8.2 pkgrel=0 pkgdesc="PNG recompression utility" url="http://pmt.sourceforge.net/pngcrush/" arch="all" license="zlib" depends="" depends_dev="" makedepends="$depends_dev zlib-dev libpng-dev" install="" subpackages="" source="http://downloads.sourceforge.net/pmt/${pkgname}-${pkgver}-nolib.tar.xz" builddir="$srcdir"/$pkgname-$pkgver-nolib build() { cd "$builddir" make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="f8f8cc7bf588fc0d076f521c4c3e262d pngcrush-1.8.2-nolib.tar.xz" sha256sums="4a2b4a0445008f0d528cffebd143ca9b15ec41cbc5abb79ce244d6eedaf452b1 pngcrush-1.8.2-nolib.tar.xz" sha512sums="f0bfd95a84c9eef48abe624ca8ea4c2064862e9b6330776f91d7647b2796b1221a9edccf8de73fdbad7031cdee0d161072ce44063c60a6a7880a51130fb5c0f9 pngcrush-1.8.2-nolib.tar.xz"