1 # Maintainer: Sébastien Luttringer
6 pkgdesc='Netfilter library providing interface to the nf_tables subsystem'
8 url='https://netfilter.org/projects/libnftnl/'
11 validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
12 source=("https://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2"{,.sig})
13 sha256sums=('c0fe233be4cdfd703e7d5977ef8eb63fcbf1d0052b6044e1b23d47ca3562477f'
18 # apply patch from the source array (should be a pacman feature)
20 for src in "${source[@]}"; do
23 [[ $src = *.patch ]] || continue
24 msg2 "Applying patch $src..."
25 patch -Np1 < "../$src"
31 ./configure --prefix=/usr
42 make DESTDIR="$pkgdir" install
45 # vim:set ts=2 sw=2 et: