2022-03-20 13:19:37 +01:00
|
|
|
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=attr
|
2024-01-15 00:38:58 +01:00
|
|
|
pkgver=2.5.2
|
|
|
|
pkgrel=1
|
2022-03-20 13:19:37 +01:00
|
|
|
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')
|
|
|
|
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
|
|
|
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
|
|
|
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
|
|
|
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
2024-01-15 00:38:58 +01:00
|
|
|
sha256sums=('f2e97b0ab7ce293681ab701915766190d607a1dba7fae8a718138150b700a70b'
|
2022-03-20 13:19:37 +01:00
|
|
|
'SKIP')
|
|
|
|
|
2023-03-26 06:31:13 +02:00
|
|
|
prepare() {
|
|
|
|
# remove the nfs entries from /etc/xattr.conf
|
|
|
|
# http://lists.gnu.org/archive/html/bug-coreutils/2019-03/msg00008.html
|
|
|
|
sed -i '/nfs/d' $pkgname-$pkgver/xattr.conf
|
|
|
|
}
|
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|