jobcore/libnfnetlink/PKGBUILD

40 lines
1.3 KiB
Bash

#!/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=02
pkgdesc='Low-level library for netfilter related kernel/userspace communication'
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
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
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
## 9d0252ee1fb829622ee4208e671e5cfa15cc77147abcf61f15a1bcaed2ff3163 libnfnetlink-1.0.2-02-x86_64.pkg.tar.lz