#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=libnfnetlink
pkgver=1.0.2
pkgrel=01
pkgdesc='Low-level library for netfilter related kernel/userspace communication'
arch=('x86_64')
url='https://www.netfilter.org/projects/libnfnetlink/'
depends=('glibc')
source=("https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig})

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

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

#---- license gpg-key sha256sums ----

license=('GPL')

#validpgpkeys=('57FF5E9C9AA67A860B557AF7A4111F89BB5F58CC') # Netfilter Core Team
validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team

sha256sums=(b064c7c3d426efb4786e60a8e6859b82ee2f2c5e49ffeea640cfe4fe33cbc376 # libnfnetlink-1.0.2.tar.bz2
	2ed73b9069ab761168bb11694b8507dbb65e194697d5674dabc8af08a76ac552) # libnfnetlink-1.0.2.tar.bz2.sig
