Date: Saturday, January 28, 2023 @ 20:33:37
Author: eworm
Revision: 467556
archrelease: copy trunk to testing-x86_64
Added:
libnl/repos/testing-x86_64/
libnl/repos/testing-x86_64/PKGBUILD
(from rev 467555, libnl/trunk/PKGBUILD)
libnl/repos/testing-x86_64/keys/
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: libnl/repos/testing-x86_64/PKGBUILD (from rev 467555,
libnl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-01-28 20:33:37 UTC (rev 467556)
@@ -0,0 +1,35 @@
+# Maintainer: Bartłomiej Piotrowski <[email protected]>
+# Contributor: Thomas Bächler <[email protected]>
+
+pkgname=libnl
+pkgver=3.7.0
+pkgrel=2
+pkgdesc='Library for applications dealing with netlink sockets'
+arch=('x86_64')
+url='https://github.com/thom311/libnl/'
+license=('GPL')
+depends=('glibc' 'gcc-libs')
+backup=('etc/libnl/classid'
+ 'etc/libnl/pktloc')
+validpgpkeys=('49EA7C670E0850E7419514F629C2366E4DFC5728') # Thomas Haller
+source=("https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('9fe43ccbeeea72c653bdcf8c93332583135cda46a79507bfd0a483bb57f65939'
+ 'SKIP')
+
+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
+}