attr 2.5.2-1

This commit is contained in:
xhaa123 2024-09-07 23:18:11 +08:00
parent ebd73f4d3a
commit 23b63802ef

35
attr/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
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')
backup=(etc/xattr.conf)
source=(https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha256sums=(39bf67452fa41d0948c2197601053f48b3d78a029389734332a6309a680c6c87)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--disable-static \
--sysconfdir=/etc \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}