Date: Wednesday, May 26, 2021 @ 13:30:47 Author: eworm Revision: 416475
archrelease: copy trunk to testing-x86_64 Added: libnl/repos/testing-x86_64/ libnl/repos/testing-x86_64/PKGBUILD (from rev 416474, libnl/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: libnl/repos/testing-x86_64/PKGBUILD (from rev 416474, libnl/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-05-26 13:30:47 UTC (rev 416475) @@ -0,0 +1,34 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Thomas Bächler <tho...@archlinux.org> + +pkgname=libnl +pkgver=3.5.0 +pkgrel=3 +pkgdesc='Library for applications dealing with netlink sockets' +arch=(x86_64) +url='https://github.com/thom311/libnl/' +license=(GPL) +depends=(glibc) +backup=(etc/libnl/classid etc/libnl/pktloc) +source=(https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/${pkgname}-${pkgver}.tar.gz{,.sig}) +sha256sums=('352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa' + 'SKIP') +validpgpkeys=('49EA7C670E0850E7419514F629C2366E4DFC5728') # Thomas Haller + +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 +}