43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=ethtool
|
|
pkgver=6.0
|
|
pkgrel=01
|
|
epoch=1
|
|
pkgdesc="Utility for controlling network drivers and hardware"
|
|
arch=('x86_64')
|
|
url="https://www.kernel.org/pub/software/network/ethtool/"
|
|
depends=('glibc' 'libmnl')
|
|
source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL')
|
|
|
|
validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806 # John W. Linville <linville@kernel.org>
|
|
D2CB120AB45957B721CD9596F4554567B91DE934) # Michal Kubecek <mkubecek@suse.cz>
|
|
|
|
sha256sums=(d5446c93de570ce68f3b1ea69dbfa12fcfd67fc19897f655d3f18231e2b818d6 # ethtool-6.0.tar.xz
|
|
434766551c76e7dfc1b24fc0b14eb7278b3ae772b1b81d7d0c91ca250997afda) # ethtool-6.0.tar.sign
|