#!/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=6.7
pkgrel=01
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=(aacf49c266b29d500d73086798a1c652e760c19126a8599fd811850430789a35  # iw-6.7.tar.xz
	7a9b3e026ac331594009ad7ee26797f8ecef0b5186a09dc3dd63a7e1844d05f7) # iw-6.7.tar.sign

##  55f7e9850f3ef9b1db394009e08d6f1f4ca078d77d8078e94bf518cfc8b2c31d  iw-6.7-01-x86_64.pkg.tar.lz

