summaryrefslogtreecommitdiffstats
path: root/abs/core/attr/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/attr/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/attr/PKGBUILD')
-rw-r--r--abs/core/attr/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/attr/PKGBUILD b/abs/core/attr/PKGBUILD
new file mode 100644
index 0000000..3100b24
--- /dev/null
+++ b/abs/core/attr/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=attr
+pkgver=2.4.41
+pkgrel=10
+pkgdesc="Extended attribute support library for ACL support"
+arch=(i686 x86_64)
+url="http://oss.sgi.com/projects/xfs/"
+license=('LGPL')
+groups=('base')
+depends=('glibc')
+makedepends=('gettext')
+replaces=('xfsattr')
+provides=('xfsattr')
+conflicts=('xfsattr')
+options=('!libtool')
+source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${pkgver}-1.tar.gz)
+md5sums=('867eb6e8863e39900382d77e2b538696')
+
+build() {
+ cd $startdir/src/attr-$pkgver
+ autoconf
+ ./configure --prefix=/usr
+ sed -i -e 's/man2//g' man/Makefile
+ make || return 1
+ make prefix=${startdir}/pkg/usr install install-lib install-dev
+
+ # tidy up
+ cd "${startdir}/pkg"
+
+ mkdir -v lib
+ mv -v usr/lib/libattr.so* lib/
+ ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so
+
+ mv -v usr/libexec/libattr.{a,la} usr/lib/
+ rm -rvf usr/libexec
+}