diff options
-rw-r--r-- | main/pngcrush/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/pngcrush/APKBUILD b/main/pngcrush/APKBUILD index 05b53a1479..beebc0b516 100644 --- a/main/pngcrush/APKBUILD +++ b/main/pngcrush/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=pngcrush -pkgver=1.8.2 +pkgver=1.8.4 pkgrel=0 pkgdesc="PNG recompression utility" url="http://pmt.sourceforge.net/pngcrush/" @@ -15,10 +15,11 @@ subpackages="" source="http://downloads.sourceforge.net/pmt/${pkgname}-${pkgver}-nolib.tar.xz" builddir="$srcdir"/$pkgname-$pkgver-nolib - build() { cd "$builddir" - make || return 1 + make CC="${CC:-gcc}" CFLAGS="$CFLAGS" \ + LDFLAGS="$LDFLAGS" \ + || return 1 } package() { @@ -26,6 +27,6 @@ package() { 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" +md5sums="ae3ac4e9a2fffdc73c47608e2035b74a pngcrush-1.8.4-nolib.tar.xz" +sha256sums="4ef6d790677cf57f622db693337d841b60d62c044e8681299245c298bd56161a pngcrush-1.8.4-nolib.tar.xz" +sha512sums="f246a62727d5ecfda72e4be544c857ff4e67673cc54ac80ba60db5b1b2bea68c22780dd3999d76ee0ccfde5b8ca001c828ee22f46431e1b22e972b37f88f3192 pngcrush-1.8.4-nolib.tar.xz" |