# $Id: PKGBUILD 217763 2014-07-23 22:36:56Z seblu $
# Maintainer: Sébastien Luttringer

pkgname=libnftnl
pkgver=1.0.2
pkgrel=1
pkgdesc='Netfilter library providing interface to the nf_tables subsystem'
arch=('i686' 'x86_64')
url='http://netfilter.org/projects/libnftnl/'
license=('GPL2')
depends=('libmnl')
source=("http://netfilter.org/projects/libnftnl/files/libnftnl-$pkgver.tar.bz2"{,.sig})
sha1sums=('19b6903b3dc2a86cc13bb560ae55f779b92cae69'
          'SKIP')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

check() {
  cd $pkgname-$pkgver
  make check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
