diff options
author | prspkt <prspkt@protonmail.com> | 2018-04-01 14:39:40 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-04-05 19:07:10 +0200 |
commit | c561d0ee3a21c7ba4b9dfdb469e1189014120797 (patch) | |
tree | f9532f80f7e0763cc918ba048b60e9c72488105f /main/libpng | |
parent | 505ff7688a4b3c31502303450c013e6aa44aee94 (diff) | |
download | aports-c561d0ee3a21c7ba4b9dfdb469e1189014120797.tar.bz2 aports-c561d0ee3a21c7ba4b9dfdb469e1189014120797.tar.xz |
main/libpng: clarify license and improve abuild
Diffstat (limited to 'main/libpng')
-rw-r--r-- | main/libpng/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD index 970c13c013..22b7bcaf4d 100644 --- a/main/libpng/APKBUILD +++ b/main/libpng/APKBUILD @@ -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 } |