# Maintainer: Natanael Copa pkgname=ethtool pkgver=5.3 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() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="ad3651f74850e6773489baec27c51d077e3c080eb1d536a585ae05c618304880caf7598df5c9b1416c47ae9c4eac301032f6ea65fe47650dd9ecb7603c1857b0 ethtool-5.3.tar.xz"