aboutsummaryrefslogtreecommitdiffstats
path: root/main/pngcrush
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-06 21:55:07 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-06 21:55:07 +0100
commit613a324122c501b00e8219fbebe0ffcabd7f876e (patch)
treebe4b1fd36da23b0aba3086827f24cd4e4b82cc07 /main/pngcrush
parent335940c32e4cdc4675562e68948d3a5fbd2c97f1 (diff)
downloadaports-613a324122c501b00e8219fbebe0ffcabd7f876e.tar.bz2
aports-613a324122c501b00e8219fbebe0ffcabd7f876e.tar.xz
main/pngcrush: improve abuild
Diffstat (limited to 'main/pngcrush')
-rw-r--r--main/pngcrush/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/main/pngcrush/APKBUILD b/main/pngcrush/APKBUILD
index b8772c7950..9898c9c1ca 100644
--- a/main/pngcrush/APKBUILD
+++ b/main/pngcrush/APKBUILD
@@ -8,18 +8,15 @@ url="http://pmt.sourceforge.net/pngcrush/"
arch="all"
license="zlib"
depends=""
-depends_dev=""
-makedepends="$depends_dev zlib-dev libpng-dev"
-install=""
-subpackages=""
+makedepends="zlib-dev libpng-dev"
source="http://downloads.sourceforge.net/pmt/${pkgname}-${pkgver}-nolib.tar.xz"
+builddir="$srcdir/$pkgname-$pkgver-nolib"
-builddir="$srcdir"/$pkgname-$pkgver-nolib
build() {
cd "$builddir"
- make CC="${CC:-gcc}" CFLAGS="$CFLAGS" \
- LDFLAGS="$LDFLAGS" \
- || return 1
+ make CC="${CC:-gcc}" \
+ CFLAGS="$CFLAGS" \
+ LDFLAGS="$LDFLAGS"
}
package() {