# Maintainer: Natanael Copa pkgname=ethtool pkgver=4.13 pkgrel=0 pkgdesc="gkernel ethtool" url="https://sourceforge.net/projects/gkernel/" arch="all" license="GPL-2.0" makedepends="linux-headers" source="http://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz" subpackages="$pkgname-doc" builddir="$srcdir"/$pkgname-$pkgver check() { cd "$builddir" make check } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="d0f881b88379b959cd34949c924b0e4d4fb1af0873192cdf8ec9cc2d2d677a4de13021efabb0a1aea1932ef38a6952d9f3eb040c478a9af770054a6170777789 ethtool-4.13.tar.xz"