# $Id: PKGBUILD 312034 2017-12-10 10:28:36Z seblu $
# Maintainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
# Contributor: Filip Wojciechowski, filip at loka dot pl

pkgname=libnetfilter_queue
pkgver=1.0.3
pkgrel=1
pkgdesc='Userspace API to packets that have been queued by the kernel packet filter'
arch=('x86_64')
url='https://www.netfilter.org/projects/libnetfilter_queue/'
license=('GPL')
depends=('libnfnetlink' 'libmnl')
validpgpkeys=('57FF5E9C9AA67A860B557AF7A4111F89BB5F58CC'
              'C09DB2063F1D7034BA6152ADAB4655A126D292E4')
# 2016-11-03: https sources download is broken with curl
source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig})
md5sums=('700ce0ae4784257ab5abe6fd1802f366'
         'SKIP')

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

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

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