aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpng')
-rw-r--r--main/libpng/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD
index 03a2edce7b..43424e1339 100644
--- a/main/libpng/APKBUILD
+++ b/main/libpng/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libpng
pkgver=1.6.27
_apngver=1.6.26
-pkgrel=0
+pkgrel=1
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
arch="all"
@@ -11,14 +11,12 @@ license="GPL"
depends=""
depends_dev="zlib-dev"
makedepends="$depends_dev gawk"
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-$_apngver-apng.patch.gz
-
libpng-fix-arm-neon.patch
"
-
-builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
@@ -46,6 +44,12 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
}
+utils() {
+ pkgdesc="$pkgdesc (pngfix utils)"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
md5sums="58698519e9f6126c1caeefc28dbcbd5f libpng-1.6.27.tar.gz
921d2717418bf74b40b94191c8b282c7 libpng-1.6.26-apng.patch.gz
e58c8d9a4086999456de13b2c4b9e224 libpng-fix-arm-neon.patch"