main/libpng: clarify license and improve abuild

This commit is contained in:
prspkt 2018-04-01 14:39:40 +00:00 committed by Jakub Jirutka
parent 505ff7688a
commit c561d0ee3a

View File

@ -4,9 +4,9 @@ pkgname=libpng
pkgver=1.6.34
pkgrel=1
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
url="http://www.libpng.org"
arch="all"
license="GPL"
license="Libpng"
depends=""
depends_dev="zlib-dev"
makedepends="$depends_dev gawk autoconf automake libtool"
@ -38,14 +38,13 @@ build() {
}
check() {
make -C "$builddir" check
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
rm -f "$pkgdir"/usr/lib/*.la
}