summaryrefslogtreecommitdiff
path: root/libs/libnftnl/MAKEPKG
blob: 46d90de69bf60da91f1954c77adb62e532f2ea6c (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
#!/bin/mkpkg
# description: libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem
# url: https://netfilter.org/projects/libnftnl/

name=libnftnl
version=1.3.2
release=1
depends=(libmnl)
source=(
    https://www.netfilter.org/pub/libnftnl/libnftnl-$version.tar.xz
)

sha256sums=(
    "c97abc3409f8fa396b4462b2bb7f147a3a47a4ddc97cfa0b2f18890c9cfde8b0"
)

build() {
    cd $name-$version

    ./configure --prefix=/usr
    make
    make DESTDIR=$PKG install

    rm -f $PKG/usr/lib/*.la
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh