summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: daf6af70ff64a40619c36fc0de7a5516dc99e008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=acl-git
pkgver=2.2.52.r53.gfa5f683
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' 'xfsacl')
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
}