blob: 1733de3b854fd500a2a5a7c054e00a2743c20cbe (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=nfacct-git
pkgver=1.0.2.r1.g430b60d
pkgrel=1
pkgdesc="Tool to create/retrieve/delete accounting objects"
arch=('i686' 'x86_64')
url="https://netfilter.org/projects/nfacct/index.html"
license=('GPL')
depends=('libmnl' 'libnetfilter_acct')
makedepends=('git')
provides=("nfacct=$pkgver")
conflicts=('nfacct')
source=("git://git.netfilter.org/nfacct")
sha256sums=('SKIP')
pkgver() {
cd "nfacct"
git describe --long --tags | sed 's/^nfacct-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "nfacct"
autoreconf -fi
./configure \
--prefix="/usr" \
--sbindir="/usr/bin"
make
}
package() {
cd "nfacct"
make DESTDIR="$pkgdir" install
}
|