Commit c561d0ee authored by prspkt's avatar prspkt Committed by Jakub Jirutka

main/libpng: clarify license and improve abuild

parent 505ff768
......@@ -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
}
......
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