diff options
author | Anatol Pomozov | 2015-06-17 08:47:02 -0700 |
---|---|---|
committer | Anatol Pomozov | 2015-06-17 08:47:02 -0700 |
commit | 2ea94a9777bc98114ef46237b41367a7fb2bc381 (patch) | |
tree | 9e4213cd65d6d342f7f196a86f51f66ed32c76ca | |
download | aur-iptables-nftables-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..abe1d69eccf7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = iptables-nftables-git + pkgdesc = backward compatibility iptables/ip6tables user-space utility + pkgver = 1.4.15.r261.ge2f019a + pkgrel = 1 + url = http://netfilter.org/projects/nftables/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + provides = iptables + conflicts = iptables + conflicts = iptables-nftables + source = git://git.netfilter.org/iptables-nftables + sha1sums = SKIP + +pkgname = iptables-nftables-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..df7cf3bcefb8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> + +pkgname=iptables-nftables-git +pkgver=1.4.15.r261.ge2f019a +pkgrel=1 +pkgdesc='backward compatibility iptables/ip6tables user-space utility' +arch=(i686 x86_64) +url='http://netfilter.org/projects/nftables/' +license=(GPL2) +makedepends=(git) +provides=(iptables) +conflicts=(iptables iptables-nftables) +source=(git://git.netfilter.org/iptables-nftables) +sha1sums=('SKIP') + +pkgver() { + cd iptables-nftables + git describe | sed 's/^v//; s/-/.r/; s/-/./' +} + +build() { + cd iptables-nftables + ./autogen.sh + ./configure --prefix=/usr --sbindir=/usr/bin + make +} + +package() { + cd iptables-nftables + make DESTDIR="$pkgdir" install +} |