2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2022-04-29 21:55:53 +02:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2022-03-20 13:19:37 +01:00
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
2022-04-29 21:55:53 +02:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=libnl
|
2022-07-07 16:09:17 +02:00
|
|
|
pkgver=3.7.0
|
2023-01-29 23:58:02 +01:00
|
|
|
pkgrel=02
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc='Library for applications dealing with netlink sockets'
|
|
|
|
arch=(x86_64)
|
|
|
|
url='https://github.com/thom311/libnl/'
|
2023-01-29 23:58:02 +01:00
|
|
|
depends=('glibc' 'gcc-libs')
|
2022-04-29 21:55:53 +02:00
|
|
|
#options=('debug') # uncomment this to produce the debug package for libnl
|
2022-03-20 13:19:37 +01:00
|
|
|
makedepends=(bison)
|
2022-04-29 21:55:53 +02:00
|
|
|
backup=(etc/libnl/classid
|
|
|
|
etc/libnl/pktloc)
|
2022-03-20 13:19:37 +01:00
|
|
|
source=(https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/${pkgname}-${pkgver}.tar.gz{,.sig})
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--sbindir=/usr/bin \
|
2022-04-18 03:56:45 +02:00
|
|
|
--disable-ipv6 \
|
2022-03-20 13:19:37 +01:00
|
|
|
--disable-static
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
make -C $pkgname-$pkgver check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
|
|
|
|
}
|
2022-04-18 03:56:45 +02:00
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
|
|
|
|
license=(GPL)
|
|
|
|
|
|
|
|
validpgpkeys=('49EA7C670E0850E7419514F629C2366E4DFC5728') # Thomas Haller
|
|
|
|
|
2022-07-07 16:09:17 +02:00
|
|
|
sha256sums=(9fe43ccbeeea72c653bdcf8c93332583135cda46a79507bfd0a483bb57f65939 # libnl-3.7.0.tar.gz
|
|
|
|
abdf098b3a7802a1e77086e5f92835ad25a2da6a59a05d6a5a086d66a323bffc) # libnl-3.7.0.tar.gz.sig
|
2023-01-29 23:58:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
# 20d92eaddcfde543045155667a04dc2fcf69ef23ee7c6294d32380da37101502 libnl-3.7.0-02-x86_64.pkg.tar.xz
|
|
|
|
|
|
|
|
|