# Maintainer: Natanael Copa pkgname=ethtool pkgver=4.16 pkgrel=0 pkgdesc="ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices." 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="c0cd28ca34e7fdc9af3335fd0b666b4b879ecbaf0c0bccf032aa36fdd66cbb01b6ddf16c6b60823d46a81f9b5f377047422ac88cc7cd0a869e239a3171966c66 ethtool-4.16.tar.xz"