diff options
Diffstat (limited to 'main/acl')
-rw-r--r-- | main/acl/APKBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/acl/APKBUILD b/main/acl/APKBUILD index 769689ed90..197b5a2e5b 100644 --- a/main/acl/APKBUILD +++ b/main/acl/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=acl pkgver=2.2.51 -pkgrel=1 +pkgrel=2 pkgdesc="Access control list utilities" url="http://acl.bestbits.at/" arch="all" @@ -41,8 +41,9 @@ build() { package() { cd "$srcdir"/acl-$pkgver - make DIST_ROOT="$pkgdir" install install-lib install-dev - mv "$pkgdir"/lib/libacl.[al]* "$pkgdir"/usr/lib/ + make DIST_ROOT="$pkgdir" install install-lib install-dev || return 1 + rm "$pkgdir"/usr/lib/*.la "$pkgdir"/lib/*.la || return 1 + mv "$pkgdir"/lib/libacl.a "$pkgdir"/usr/lib/ chown -R root:root "$pkgdir"/* } |