Date: Wednesday, May 18, 2022 @ 07:09:38 Author: eworm Revision: 1207768
upgpkg: libdnet 1.16.1-1: new upstream release Modified: libdnet/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-05-18 07:07:29 UTC (rev 1207767) +++ PKGBUILD 2022-05-18 07:09:38 UTC (rev 1207768) @@ -2,20 +2,25 @@ # Contributor: James Fryman <jfry...@gmail.com> pkgname=libdnet -pkgver=1.12 -pkgrel=13 +pkgver=1.16.1 +pkgrel=1 pkgdesc='A simplified, portable interface to several low-level networking routines' -arch=(x86_64) +arch=('x86_64') +checkdepends=('check') license=('BSD') -url='https://github.com/dugsong/libdnet' -source=("https://github.com/dugsong/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz") -sha256sums=('b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424') +url='https://github.com/ofalk/libdnet' +source=("https://github.com/ofalk/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz") +sha256sums=('b151c4913758ef80daf4558361b4f2680a37b01d59272625bb78c77183062c63') -build() { +prepare() { cd "$srcdir"/$pkgname-$pkgname-$pkgver autoreconf -I config --force --install +} +build() { + cd "$srcdir"/$pkgname-$pkgname-$pkgver + ./configure \ --prefix=/usr \ --sbindir=/usr/bin @@ -22,6 +27,13 @@ make } +check() { + cd "$srcdir"/$pkgname-$pkgname-$pkgver + + # fails in build container + #make check +} + package() { cd "$srcdir"/$pkgname-$pkgname-$pkgver