diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:31:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:31:19 +0000 |
commit | 39ae1e43d1032bf4e499b5c4b71d982bc4f90822 (patch) | |
tree | 782ad4b63c3a9d62a240e746dd2f42ccf849cebb /main/acl/APKBUILD | |
parent | a78d341e1cff5fe0beedc4fcf345802c9a3104db (diff) | |
download | aports-39ae1e43d1032bf4e499b5c4b71d982bc4f90822.tar.bz2 aports-39ae1e43d1032bf4e499b5c4b71d982bc4f90822.tar.xz |
main/acl: remove *.la
Diffstat (limited to 'main/acl/APKBUILD')
-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 769689ed9..197b5a2e5 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"/* } |