diff options
Diffstat (limited to 'main/ethtool')
-rw-r--r-- | main/ethtool/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/main/ethtool/APKBUILD b/main/ethtool/APKBUILD index 861aa9c675d..c2318492853 100644 --- a/main/ethtool/APKBUILD +++ b/main/ethtool/APKBUILD @@ -1,18 +1,18 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ethtool -pkgver=5.12 +pkgver=6.7 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-only" makedepends="linux-headers libmnl-dev" -subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" +subpackages="$pkgname-doc $pkgname-bash-completion" source="https://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz" -[ "$CARCH" = "s390x" ] && options="!check" # failing tests but we need it anyway build() { + CFLAGS="$CFLAGS -flto=auto" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -29,12 +29,6 @@ package() { make DESTDIR="$pkgdir" install } -bashcomp() { - depends="" - pkgdesc="Bash completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - - amove usr/share/bash-completion/completions -} - -sha512sums="9825f0bf10851f0bd9c3e621785144a5ed5f3fbedacb1801aa6a9b4685c870fa9bfac8eb552c900d20be06240c017dd001fde6be7aecc8c466bbe9ade8b1d002 ethtool-5.12.tar.xz" +sha512sums=" +07d13f9a8f980dab73c07e7c68179cfee272f53103c6dfbce1814b768e3313dc671a0cbefc63d4d53a616876bc1f96db8db2444617e4d58d741fae3acf0be524 ethtool-6.7.tar.xz +" |