jobcore/libnl/PKGBUILD-arch

38 lines
1 KiB
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Thomas Bächler <thomas@archlinux.org>
pkgname=libnl
2023-12-05 01:13:50 +01:00
pkgver=3.9.0
2023-08-31 00:45:53 +02:00
pkgrel=1
2022-03-20 13:19:37 +01:00
pkgdesc='Library for applications dealing with netlink sockets'
2022-04-18 03:56:45 +02:00
arch=('x86_64')
2022-03-20 13:19:37 +01:00
url='https://github.com/thom311/libnl/'
2022-04-18 03:56:45 +02:00
license=('GPL')
2023-01-29 23:58:02 +01:00
depends=('glibc' 'gcc-libs')
2023-02-07 13:20:07 +01:00
provides=('libnl-3.so' 'libnl-cli-3.so' 'libnl-genl-3.so' 'libnl-idiag-3.so'
'libnl-nf-3.so' 'libnl-route-3.so' 'libnl-xfrm-3.so')
2022-04-18 03:56:45 +02:00
backup=('etc/libnl/classid'
'etc/libnl/pktloc')
2022-03-20 13:19:37 +01:00
validpgpkeys=('49EA7C670E0850E7419514F629C2366E4DFC5728') # Thomas Haller
2022-04-18 03:56:45 +02:00
source=("https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/${pkgname}-${pkgver}.tar.gz"{,.sig})
2023-12-05 01:13:50 +01:00
sha256sums=('aed507004d728a5cf11eab48ca4bf9e6e1874444e33939b9d3dfed25018ee9bb'
2022-04-18 03:56:45 +02:00
'SKIP')
2022-03-20 13:19:37 +01:00
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--disable-static
make
}
check() {
make -C $pkgname-$pkgver check
}
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}