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 /PKGBUILD | |
download | aur-iptables-nftables-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
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 +} |