aboutsummaryrefslogtreecommitdiffstats
path: root/community/optipng/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-01-28 18:14:26 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-01-28 18:14:26 -0600
commit7be1b1f258fe011f55f109e83429e2ee5beb4e4d (patch)
treef51662fdfc8bd9df01fe02fef15b707d2678434d /community/optipng/APKBUILD
parent3f7243ea9f081f72a467d6ce68c48a5078078be6 (diff)
downloadaports-7be1b1f258fe011f55f109e83429e2ee5beb4e4d.tar.bz2
aports-7be1b1f258fe011f55f109e83429e2ee5beb4e4d.tar.xz
community/optipng: modernise
Diffstat (limited to 'community/optipng/APKBUILD')
-rw-r--r--community/optipng/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/optipng/APKBUILD b/community/optipng/APKBUILD
index fcc36ad87a..f630eb568d 100644
--- a/community/optipng/APKBUILD
+++ b/community/optipng/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=2
pkgdesc="Compresses PNG files to a smaller size, without losing any information."
url="http://optipng.sourceforge.net/"
arch="all"
-license="zlib"
+license="Zlib"
makedepends="libpng-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
@@ -27,10 +27,10 @@ check() {
package() {
cd "$builddir"
- make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install || return 1
+ make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
# install license
- install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
+ install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 optipng-0.7.6.tar.gz"