#!/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=libmnl
pkgver=1.0.5
pkgrel=01
pkgdesc='Minimalistic user-space library oriented to Netlink developers.'
arch=('x86_64')
url='https://www.netfilter.org/projects/libmnl/'
depends=('glibc')
source=("https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig})

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

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

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

license=('LGPL2.1')

#validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4') # Netfilter Core Team
validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team

sha256sums=(274b9b919ef3152bfb3da3a13c950dd60d6e2bcd54230ffeca298d03b40d0525 # libmnl-1.0.5.tar.bz2
	5b838ee2b10da2e23b95a665fe4831dc54c62376362f6de2bed8004d60ae2ffb) # libmnl-1.0.5.tar.bz2.sig
