mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
36 lines
875 B
Bash
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
|
|
}
|