aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:31:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:31:43 +0000
commitafbdb12000756305b02412c38bad93e644656559 (patch)
treecc3bc41377a53bb99dbb0d89aa5fa60e4e5e701a /main
parent39ae1e43d1032bf4e499b5c4b71d982bc4f90822 (diff)
downloadaports-afbdb12000756305b02412c38bad93e644656559.tar.bz2
aports-afbdb12000756305b02412c38bad93e644656559.tar.xz
main/attr: remove *.la
Diffstat (limited to 'main')
-rw-r--r--main/attr/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/attr/APKBUILD b/main/attr/APKBUILD
index ac2dda8b51..57ecd12870 100644
--- a/main/attr/APKBUILD
+++ b/main/attr/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=attr
pkgver=2.4.46
-pkgrel=1
+pkgrel=2
pkgdesc="Utilities for managing filesystem extended attributes"
url="http://acl.bestbits.at/"
arch="all"
@@ -50,10 +50,12 @@ build() {
package() {
cd "$srcdir"/attr-$pkgver
make -j1 LIBTOOL=$PWD/libtool DESTDIR="$pkgdir" \
- install install-lib install-dev
+ install install-lib install-dev || return 1
# provided by man-pages
- rm -fr "$pkgdir"/usr/share/man/man2 \
- "$pkgdir"/lib/*.a "$pkgdir"/lib/*.la
+ rm -r "$pkgdir"/usr/share/man/man2 \
+ "$pkgdir"/usr/lib/*.a \
+ "$pkgdir"/lib/*.la \
+ "$pkgdir"/usr/lib/*.la || return 1
}
libattr() {