aboutsummaryrefslogtreecommitdiffstats
path: root/main/attr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/attr/APKBUILD')
-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() {