blob: 2d7fbb4569cf41c0c35b0b54435edeeddf009c40 (
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=libcap-ng-git
pkgver=0.8.3.r6.g398a149
pkgrel=1
pkgdesc="Library for Linux that makes using posix capabilities easy"
arch=('i686' 'x86_64')
url="https://people.redhat.com/sgrubb/libcap-ng/"
license=('GPL' 'LGPL')
depends=('glibc')
makedepends=('git')
provides=("libcap-ng=$pkgver")
conflicts=('libcap-ng')
options=('staticlibs')
source=("git+https://github.com/stevegrubb/libcap-ng.git")
sha256sums=('SKIP')
pkgver() {
cd "libcap-ng"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libcap-ng"
./autogen.sh
./configure \
--prefix="/usr"
make
}
check() {
cd "libcap-ng"
make check
}
package() {
cd "libcap-ng"
make DESTDIR="$pkgdir" install
}
|