summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 19:51:40 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 19:51:40 (GMT)
commit305753e103888a633c1dd32073fb5fe35b5f0a80 (patch)
treef0b82499ce246ab5cd7956768ca71f09a3c0bf0e /abs
parent8f4faaa77e24e9ff85ec7a4992ba751560218c13 (diff)
downloadlinhes_pkgbuild-305753e103888a633c1dd32073fb5fe35b5f0a80.zip
linhes_pkgbuild-305753e103888a633c1dd32073fb5fe35b5f0a80.tar.gz
linhes_pkgbuild-305753e103888a633c1dd32073fb5fe35b5f0a80.tar.bz2
acl: Bump to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/core/acl/PKGBUILD45
1 files changed, 22 insertions, 23 deletions
diff --git a/abs/core/acl/PKGBUILD b/abs/core/acl/PKGBUILD
index 099eb04..96c51fd 100644
--- a/abs/core/acl/PKGBUILD
+++ b/abs/core/acl/PKGBUILD
@@ -1,35 +1,34 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# $Id$
+# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=acl
-pkgver=2.2.47
-pkgrel=10
-pkgdesc="Library for filesystem ACL support"
-arch=(i686 x86_64)
-url="http://oss.sgi.com/projects/xfs/"
+pkgver=2.2.51
+pkgrel=1
+pkgdesc="Access control list utilities, libraries and headers"
+arch=('i686' 'x86_64')
+url="http://savannah.nongnu.org/projects/acl"
license=('LGPL')
-groups=('base')
-depends=('attr>=2.4.41')
+depends=('attr>=2.4.46')
replaces=('xfsacl')
provides=('xfsacl')
conflicts=('xfsacl')
options=('!libtool')
-source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_${pkgver}-1.tar.gz)
-md5sums=('a11e4571a54a0b1ae83010d1e68a64c2')
+source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
+sha256sums=('06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225')
build() {
- cd $startdir/src/acl-$pkgver
- autoconf
- ./configure --prefix=$startdir/pkg/usr
- make || return 1
- make prefix=$startdir/pkg/usr/ install install-lib install-dev
+ cd "${srcdir}"/${pkgname}-${pkgver}
- # tidy up
- cd $startdir/pkg
+ export INSTALL_USER=root INSTALL_GROUP=root
+ ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib
+ make
+}
- mkdir -v lib
- mv -v usr/lib/libacl.so* lib/
- ln -sv ../../lib/libacl.so.1 usr/lib/libacl.so
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
- mv -v usr/libexec/libacl.{a,la} usr/lib/
- rm -rf $startdir/pkg/usr/libexec
+ make DIST_ROOT="${pkgdir}" install install-lib install-dev
+
+ # tidy up
+ rm -f ${pkgdir}/lib/libacl.a
+ chmod 0755 ${pkgdir}/lib/libacl.so.*.*.*
}