diff options
-rw-r--r-- | community/pngquant/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/community/pngquant/APKBUILD b/community/pngquant/APKBUILD index 64a383d846..b84b228768 100644 --- a/community/pngquant/APKBUILD +++ b/community/pngquant/APKBUILD @@ -2,13 +2,12 @@ # Maintainer: André Klitzing <aklitzing@gmail.com> pkgname=pngquant pkgver=2.11.2 -pkgrel=0 +pkgrel=1 pkgdesc="Lossy PNG compressor" url="https://pngquant.org/" arch="all" license="GPL" makedepends="libpng-dev lcms2-dev bash" -options="!check" # No tests provided subpackages="$pkgname-doc" source="http://pngquant.org/$pkgname-$pkgver-src.tar.gz" builddir="$srcdir"/$pkgname-$pkgver @@ -19,6 +18,11 @@ build() { make } +check() { + cd "$builddir" + ./pngquant --help > /dev/null +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install |