# Maintainer: Natanael Copa pkgname=ethtool pkgver=4.19 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="5b0b83e09799a04e401563e34c4c784029803ecf83d5ba4f3a9cc92bfc7c2bc9cb0d86cb76ac9a7ffbfb379f6a0fc4bc3e0cf9b7826971e46504052e40156abd ethtool-4.19.tar.xz"