summaryrefslogtreecommitdiff
path: root/core/attr/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-06 11:43:14 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-06 11:43:14 +0200
commit601a559448eb957ac98aca7a6e03de59e45fff91 (patch)
tree13fc71216622c3d764aa611b6a54e1918f21c496 /core/attr/PKGBUILD
parentc96a7351e1f295c1e311860dec19ac7b506b0c5c (diff)
parentf37e773fe397778858ea8d51601554863c252536 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/rtorrent/PKGBUILD core/libcap/PKGBUILD extra/samba/PKGBUILD extra/systemd/PKGBUILD extra/usbmuxd/PKGBUILD testing/glib2/PKGBUILD
Diffstat (limited to 'core/attr/PKGBUILD')
-rw-r--r--core/attr/PKGBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/core/attr/PKGBUILD b/core/attr/PKGBUILD
index af16b61c8..65b5d7545 100644
--- a/core/attr/PKGBUILD
+++ b/core/attr/PKGBUILD
@@ -1,8 +1,9 @@
-# $Id: PKGBUILD 123916 2011-05-14 10:31:07Z thomas $
+# $Id: PKGBUILD 158576 2012-05-05 00:02:37Z allan $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
+
pkgname=attr
pkgver=2.4.46
-pkgrel=1
+pkgrel=2
pkgdesc="Extended attribute support library for ACL support"
arch=('i686' 'x86_64' 'mips64el')
url="http://savannah.nongnu.org/projects/attr"
@@ -13,25 +14,25 @@ replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
options=('!libtool')
-source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
-sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f')
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz"{,.sig})
+sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f'
+ 'a8ee37a0d02c0365049b8a06dc6963e6698a448ff2c0a54ed040f0c60f27bca3')
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
+ cd "$pkgname-$pkgver"
+
export INSTALL_USER=root INSTALL_GROUP=root
- ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib
+ ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
make
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- make DIST_ROOT="${pkgdir}" install install-lib install-dev
+ make -C "$pkgname-$pkgver" DIST_ROOT="$pkgdir" install install-lib install-dev
# tidy up
- rm -f "${pkgdir}"/lib/libattr.a
- chmod 0755 "${pkgdir}"/lib/libattr.so.*.*.*
+ rm -f "$pkgdir"/usrlib/libattr.a
+ chmod 0755 "$pkgdir"/usr/lib/libattr.so.*.*.*
+
# remove conflicting manpages
- rm -rf "${pkgdir}"/usr/share/man/man2
+ rm -rf "$pkgdir"/usr/share/man/man2
}