core/acl/PKGBUILD
Jan Mette 0ae13fefd0
2010-03-21 20:46:45 +00:00

36 lines
875 B
Bash

# $Id: PKGBUILD 60792 2009-12-07 05:18:18Z eric $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=acl
pkgver=2.2.48
pkgrel=2
pkgdesc="Library for filesystem ACL support"
arch=('i686' 'x86_64')
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
depends=('attr>=2.4.41')
replaces=('xfsacl')
provides=('xfsacl')
conflicts=('xfsacl')
options=('!libtool')
source=(ftp://ftp.archlinux.org/other/acl/acl-${pkgver}.src.tar.gz)
sha256sums=('b45e21549c9752ad9b99862cce79d7ec5ef4b32c3e95a39f79f0a8442b86476e')
build() {
cd $srcdir/acl-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$pkgdir/usr/ install install-lib install-dev
# tidy up
cd $pkgdir
mkdir -v lib
mv -v usr/lib/libacl.so* lib/
ln -sv ../../lib/libacl.so.1 usr/lib/libacl.so
mv -v usr/libexec/libacl.{a,la} usr/lib/
rm -rf $pkgdir/usr/libexec
}