summaryrefslogtreecommitdiff
path: root/extra/nftables/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nftables/PKGBUILD')
-rw-r--r--extra/nftables/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/nftables/PKGBUILD b/extra/nftables/PKGBUILD
new file mode 100644
index 000000000..6523b1e93
--- /dev/null
+++ b/extra/nftables/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 217787 2014-07-23 22:59:21Z seblu $
+# Maintainer: Sébastien Luttringer
+
+pkgname=nftables
+epoch=1
+pkgver=0.2
+pkgrel=1
+pkgdesc='Netfilter nftables userspace tools'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses')
+makedepends=('docbook2x')
+source=("http://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.bz2"{,.sig})
+sha1sums=('1d1959e02e970b1de0e9435142a64d09240c0591'
+ 'SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \
+ CONFIG_MAN=y DB2MAN=docbook2man
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: