# Maintainer: Chocobo1 pkgname=acl-git pkgver=2.3.1.r20.gd26507b pkgrel=1 pkgdesc="Commands for manipulating POSIX access control lists" arch=('i686' 'x86_64') url="https://savannah.nongnu.org/projects/acl" license=('GPL' 'LGPL') depends=('glibc' 'attr') makedepends=('git') provides=("acl=$pkgver" 'xfsacl' 'libacl.so') conflicts=('acl' 'xfsacl') replaces=('xfsacl') options=('staticlibs') source=("git+https://git.savannah.gnu.org/git/acl.git") sha256sums=('SKIP') pkgver() { cd "acl" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "acl" ./autogen.sh ./configure \ --prefix="/usr" make } check() { cd "acl" make check } package() { cd "acl" make DESTDIR="$pkgdir" install }