# Maintainer: Natanael Copa pkgname=ethtool pkgver=4.17 pkgrel=0 pkgdesc="Utility for controlling network drivers and hardware" url="https://mirrors.edge.kernel.org/pub/software/network/ethtool/" arch="all" license="GPL-2.0" makedepends="linux-headers" subpackages="$pkgname-doc" source="https://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="9c8f72e32c480ec4ece7ca49acb8af668989e1e32fb1e6b884bbb6f2ffefc2a5241b5f278766e51ab01772b4f7437d7556354583c5bb63fc59ac6daecb046e8e ethtool-4.17.tar.xz"