#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=ethtool pkgver=5.19 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 D2CB120AB45957B721CD9596F4554567B91DE934) # Michal Kubecek sha256sums=(3b752a3329827907ac3812f2831dfecf51c8c41c55d2d69cfb9c53ca06449fc6 # ethtool-5.19.tar.xz 9d77ba0dd17177e0b6565f97ba3d6cff58a0a9a0f88740e75969ba594515a0df) # ethtool-5.19.tar.sign