summaryrefslogtreecommitdiffstats
path: root/abs/core/acl
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-08-06 19:10:30 (GMT)
committerCecil <knoppmyth@gmail.com>2011-08-06 19:10:30 (GMT)
commitad58e3033f6bb5137b8dcb0e7eca12d50d888402 (patch)
tree9321335a68173bc3e4c1d237c19c8880411fa676 /abs/core/acl
parent998faf16b1b62493b39aa13b3cb53dfac266ef4c (diff)
parent9709ca528ca5dfbdb6ec6ea283ac6670e8f33b9d (diff)
downloadlinhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.zip
linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.gz
linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Conflicts: abs/core/tzdata/PKGBUILD
Diffstat (limited to 'abs/core/acl')
-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.*.*.*
}