summaryrefslogtreecommitdiffstats
path: root/abs/core/acl/PKGBUILD
blob: 099eb041e9299a2cc09d053755b7e677eafc3145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Tobias Powalowski <tpowa@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/"
license=('LGPL')
groups=('base')
depends=('attr>=2.4.41')
replaces=('xfsacl')
provides=('xfsacl')
conflicts=('xfsacl')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_${pkgver}-1.tar.gz)
md5sums=('a11e4571a54a0b1ae83010d1e68a64c2')

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

  # tidy up
  cd $startdir/pkg

  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 $startdir/pkg/usr/libexec
}