summaryrefslogtreecommitdiff
path: root/testing/attr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-01 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-05-01 00:01:20 +0000
commit752015395fc8b95cc4a86b68189cb747fe9a8499 (patch)
tree3e64f1f739447b52eab8498bf13bcbc9410cde8e /testing/attr
parentb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff)
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'testing/attr')
-rw-r--r--testing/attr/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/attr/PKGBUILD b/testing/attr/PKGBUILD
new file mode 100644
index 000000000..29e263c80
--- /dev/null
+++ b/testing/attr/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 157732 2012-04-29 04:55:24Z dreisner $
+# Maintainer: Thomas Bächler <thomas@archlinux.org>
+
+pkgname=attr
+pkgver=2.4.46
+pkgrel=2
+pkgdesc="Extended attribute support library for ACL support"
+arch=('i686' 'x86_64')
+url="http://savannah.nongnu.org/projects/attr"
+license=('LGPL')
+depends=('glibc')
+makedepends=('gettext')
+replaces=('xfsattr')
+provides=('xfsattr')
+conflicts=('xfsattr')
+options=('!libtool')
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz"{,.sig})
+sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f'
+ 'a8ee37a0d02c0365049b8a06dc6963e6698a448ff2c0a54ed040f0c60f27bca3')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ export INSTALL_USER=root INSTALL_GROUP=root
+ ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DIST_ROOT="$pkgdir" install install-lib install-dev
+
+ # tidy up
+ rm -f "$pkgdir"/usrlib/libattr.a
+ chmod 0755 "$pkgdir"/usr/lib/libattr.so.*.*.*
+
+ # remove conflicting manpages
+ rm -rf "$pkgdir"/usr/share/man/man2
+}