summaryrefslogtreecommitdiff
path: root/user/ethtool
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-08-05 07:12:42 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-08-05 07:12:42 +0000
commit59721a66085b8dd867f8bb1b60afb073827abc4b (patch)
tree8162871605e11e41dba1b5a5c1303e7d91f3072a /user/ethtool
parent353560b1d53987a1f0f979cf74984f8f826b1587 (diff)
parent5d8e215b7c937a68fc4baebe05900a52b21e1bcd (diff)
downloadpackages-59721a66085b8dd867f8bb1b60afb073827abc4b.tar.gz
packages-59721a66085b8dd867f8bb1b60afb073827abc4b.tar.bz2
packages-59721a66085b8dd867f8bb1b60afb073827abc4b.tar.xz
packages-59721a66085b8dd867f8bb1b60afb073827abc4b.zip
Merge branch 'sr.2019.08.05' into 'master'
Package bumps for Maintainer: Max Rees See merge request adelie/packages!309
Diffstat (limited to 'user/ethtool')
-rw-r--r--user/ethtool/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/user/ethtool/APKBUILD b/user/ethtool/APKBUILD
index e24ad4d76..03ca23eb3 100644
--- a/user/ethtool/APKBUILD
+++ b/user/ethtool/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=ethtool
-pkgver=5.0
+pkgver=5.2
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 AND GPL-2.0+"
makedepends="linux-headers"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="https://www.kernel.org/pub/software/network/ethtool/$pkgname-$pkgver.tar.xz"
build() {
@@ -30,4 +30,13 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="9ff6433466585e38dd0dbb99ed06430cd885f26ef4e11f6b95c024ed7511c376f8d86ff53c298cb8e811193500514737ce21eb0cd925bede0373799eb3a990b6 ethtool-5.0.tar.xz"
+bashcomp() {
+ pkgdesc="Bash completions for $pkgname"
+ depends=""
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ mkdir -p "$subpkgdir"/usr/share/
+ mv "$pkgdir"/usr/share/bash-completion/ "$subpkgdir"/usr/share/
+}
+
+sha512sums="6b59923d67727895748438d6fb02542dad108aa30fa1ae684af6b6493dbf5eb63fe56fa3fada062c8c7d78efa3dc3c574f874fa13efd81262b59725b193aa2c8 ethtool-5.2.tar.xz"