jobcore/iw/PKGBUILD

39 lines
1.2 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/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=iw
pkgver=5.19
pkgrel=02
pkgdesc='nl80211 based CLI configuration utility for wireless devices'
url='https://wireless.wiki.kernel.org/en/users/documentation/iw'
depends=('libnl')
makedepends=('linux-api-headers')
source=("https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar."{xz,sign})
build() {
cd "$srcdir"/$pkgname-$pkgver
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" SBINDIR="/usr/bin" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
validpgpkeys=('C0EBC440F6DA091C884D8532E0F373F37BF9099A') # Johannes Berg
sha256sums=(f167bbe947dd53bb9ebc0c1dcef5db6ad73ac1d6084f2c6f9376c5c360cc4d4e # iw-5.19.tar.xz
0e728bac834d8bc87d5f58e94103d6d1bdade03ddad7a1455f3d2dd5fbdaec89) # iw-5.19.tar.sign
## 36621cdd80ea0fd9333052f59fbe53c84f88f72d33e5268fbbc2d737b03c2ffe iw-5.19-02-x86_64.pkg.tar.lz