blob: 9d4e1b8da5d1cd09368aecae6911181a8f8c49d0 (
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=libnfnetlink-git
pkgver=1.0.2.r1.g5fec628
pkgrel=1
pkgdesc="Low-level library for netfilter related kernel/userspace communication"
arch=('i686' 'x86_64')
url="https://netfilter.org/projects/libnfnetlink/index.html"
license=('GPL')
depends=('glibc')
makedepends=('git')
provides=("libnfnetlink=$pkgver")
conflicts=('libnfnetlink')
source=("git://git.netfilter.org/libnfnetlink")
sha256sums=('SKIP')
pkgver() {
cd "libnfnetlink"
git describe --long --tags | sed 's/^libnfnetlink-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libnfnetlink"
./autogen.sh
./configure \
--prefix="/usr"
make
}
package() {
cd "libnfnetlink"
make DESTDIR="$pkgdir" install
}
|