acl 2.3.2-1

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

34
acl/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# 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=acl
pkgver=2.3.2
pkgrel=1
pkgdesc="Access control list utilities, libraries and headers"
arch=('x86_64')
url="https://savannah.nongnu.org/projects/acl"
license=('LGPL')
depends=('glibc')
makedepends=('attr')
source=(https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(97203a72cae99ab89a067fe2210c1cbf052bc492b479eca7d226d9830883b0bd)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--disable-static \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}