39 lines
856 B
Plaintext
39 lines
856 B
Plaintext
pkgname=attr
|
|
pkgver=2.5.2
|
|
pkgrel=1
|
|
pkgdesc='Extended attribute support library for ACL support'
|
|
arch=('x86_64')
|
|
url='https://savannah.nongnu.org/projects/attr'
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
makedepends=('gettext')
|
|
replaces=('xfsattr')
|
|
provides=('xfsattr' 'libattr.so')
|
|
conflicts=('xfsattr')
|
|
backup=('etc/xattr.conf')
|
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
|
urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}")
|
|
md5sums=("227043ec2f6ca03c0948df5517f9c927")
|
|
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
sed -i '/nfs/d' xattr.conf
|
|
}
|
|
|
|
src_build() {
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--sysconfdir=/etc \
|
|
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
src_check() {
|
|
make check
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|