35 lines
979 B
Bash
35 lines
979 B
Bash
# 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
|
|
}
|