# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=iw
pkgver=6.7
pkgrel=1
pkgdesc='nl80211 based CLI configuration utility for wireless devices'
arch=('armv7h' 'aarch64')
url='https://wireless.wiki.kernel.org/en/users/documentation/iw'
license=('GPL')
depends=('libnl')
#makedepends=('linux-api-headers')
validpgpkeys=('C0EBC440F6DA091C884D8532E0F373F37BF9099A') # Johannes Berg
source=("https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar."{xz,sign})
sha256sums=('aacf49c266b29d500d73086798a1c652e760c19126a8599fd811850430789a35'
'SKIP')
build() {
cd "$srcdir"/$pkgname-$pkgver
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" SBINDIR="/usr/sbin" install
}