Commit 3590263a authored by Valery Kartel's avatar Valery Kartel Committed by Timo Teräs

main/libpng: move binaries to -utils subpackage

parent bd5b4ea8
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment