From 8db491bc13d5eb29d6b82cd220c4323453b4f0e5 Mon Sep 17 00:00:00 2001 From: Francesco Marinucci Date: Thu, 15 Nov 2018 15:59:40 +0100 Subject: [PATCH] [skip-ci] libnftnl: imported from CCR to build firewalld, #88 --- libnftnl/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libnftnl/PKGBUILD diff --git a/libnftnl/PKGBUILD b/libnftnl/PKGBUILD new file mode 100644 index 000000000..ba3eef71f --- /dev/null +++ b/libnftnl/PKGBUILD @@ -0,0 +1,28 @@ + +pkgname=libnftnl +pkgver=1.1.2 +pkgrel=1 +pkgdesc='Netfilter library providing interface to the nf_tables subsystem' +arch=('x86_64') +url='https://netfilter.org/projects/libnftnl/' +license=('GPL2') +depends=('libmnl') +source=("https://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2") +sha1sums=('c0f880588fabaa845a88fb5a2bdad0dea7481857') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} +