Date: Friday, June 15, 2018 @ 21:29:58 Author: anatolik Revision: 327010
archrelease: copy trunk to testing-x86_64 Added: ethtool/repos/testing-x86_64/ ethtool/repos/testing-x86_64/PKGBUILD (from rev 327009, ethtool/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: ethtool/repos/testing-x86_64/PKGBUILD (from rev 327009, ethtool/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-06-15 21:29:58 UTC (rev 327010) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> +# Contributor: Martin Kemp <mdk...@elys.com> + +pkgname=ethtool +pkgver=4.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') +source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign}) +sha1sums=('4e0d0d6ad1db01b04334522cd368bbcc7849cf75' + 'SKIP') +validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806) # John W. Linville <linvi...@kernel.org> + +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 +}