diff options
author | Anatol Pomozov | 2015-06-17 08:48:02 -0700 |
---|---|---|
committer | Anatol Pomozov | 2015-06-17 08:48:02 -0700 |
commit | db7fe58fb4226654de6a744dc933aa6c546b2e5b (patch) | |
tree | 5c524c4d2fb2b31f0b21869afea5276c56f07489 /PKGBUILD | |
download | aur-db7fe58fb4226654de6a744dc933aa6c546b2e5b.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ceaf7c873c94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> + +pkgname=libnftnl-git +pkgver=1.0.0.r6.g076fd1e +pkgrel=1 +pkgdesc='Netfilter nf_tables infrastructure library' +arch=(i686 x86_64) +url='http://netfilter.org/projects/nftables/' +license=(GPL2) +depends=(libmnl) +makedepends=(git) +source=(git://git.netfilter.org/libnftnl) +sha1sums=('SKIP') + +pkgver() { + cd libnftnl + git describe | sed 's/^libnftnl-//; s/-/.r/; s/-/./' +} + +build() { + cd libnftnl + ./autogen.sh + ./configure --prefix=/usr + make +} + +check() { + cd libnftnl + make check +} + +package() { + cd libnftnl + make DESTDIR="$pkgdir" install +} |