summaryrefslogtreecommitdiffstats
path: root/main/acl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:31:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:31:19 +0000
commit39ae1e43d1032bf4e499b5c4b71d982bc4f90822 (patch)
tree782ad4b63c3a9d62a240e746dd2f42ccf849cebb /main/acl/APKBUILD
parenta78d341e1cff5fe0beedc4fcf345802c9a3104db (diff)
downloadaports-39ae1e43d1032bf4e499b5c4b71d982bc4f90822.tar.bz2
aports-39ae1e43d1032bf4e499b5c4b71d982bc4f90822.tar.xz
main/acl: remove *.la
Diffstat (limited to 'main/acl/APKBUILD')
-rw-r--r--main/acl/APKBUILD7
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"/*
}