blob: 7aeb8deffe054b2cb3f62430b719cb7600e16e0d (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libnetfilter_acct-git
pkgver=1.0.3.r1.ga784bc4
pkgrel=1
pkgdesc="Userspace library providing interface to extended accounting infrastructure"
arch=('i686' 'x86_64')
url="https://netfilter.org/projects/libnetfilter_acct/index.html"
license=('LGPL')
depends=('glibc' 'libmnl')
makedepends=('git')
provides=("libnetfilter_acct=$pkgver")
conflicts=('libnetfilter_acct')
source=("git://git.netfilter.org/libnetfilter_acct")
sha256sums=('SKIP')
pkgver() {
cd "libnetfilter_acct"
git describe --long --tags | sed 's/^libnetfilter_acct-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libnetfilter_acct"
autoreconf -fi
./configure \
--prefix="/usr"
make
}
package() {
cd "libnetfilter_acct"
make DESTDIR="$pkgdir" install
}
|