Date: Tuesday, April 5, 2022 @ 20:02:58 Author: anatolik Revision: 441607
archrelease: copy trunk to testing-x86_64 Added: ethtool/repos/testing-x86_64/ ethtool/repos/testing-x86_64/PKGBUILD (from rev 441606, ethtool/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: ethtool/repos/testing-x86_64/PKGBUILD (from rev 441606, ethtool/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-04-05 20:02:58 UTC (rev 441607) @@ -0,0 +1,34 @@ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> +# Contributor: Martin Kemp <mdk...@elys.com> + +pkgname=ethtool +pkgver=5.17 +pkgrel=1 +epoch=1 +pkgdesc="Utility for controlling network drivers and hardware" +arch=('x86_64') +url="https://www.kernel.org/pub/software/network/ethtool/" +license=('GPL') +depends=('glibc' 'libmnl') +source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign}) +sha1sums=('7cfa67111d998c5c59440de95a8e5b17830dbdb8' + 'SKIP') +validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806 # John W. Linville <linvi...@kernel.org> + D2CB120AB45957B721CD9596F4554567B91DE934) # Michal Kubecek <mkube...@suse.cz> + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}