# Contributor: Luis Ressel <aranea@aixah.de>
# Maintainer: Luis Ressel <aranea@aixah.de>
pkgname=wireless-regdb
pkgver=2019.06.03
pkgrel=0
pkgdesc="Database of regulatory radio restrictions"
url="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
arch="noarch"
options="!check" # no test suite
license="ISC"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz"

package() {
	install -Dm644 -t "$pkgdir/lib/firmware" regulatory.db regulatory.db.p7s
	install -Dm644 -t "$pkgdir/usr/share/man/man5" regulatory.bin.5 regulatory.db.5
	install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" db.txt
}

sha512sums="73209ca28c59d6760349ffb713f550300e80db1592bae52b6d252ac9401fa2bb2ace7e6c30cf55df7541da9cef4c8587f3790f7aa34529552468e4b63a3d8fdb  wireless-regdb-2019.06.03.tar.xz"