aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireless-regdb/APKBUILD
blob: 587aa8533ebd4e5cb2294217d26c582feee76d27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=wireless-regdb
pkgver=2018.05.31
pkgrel=1
pkgdesc="Central Regulatory Domain Database"
url="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
arch="noarch"
license="ISC"
subpackages="$pkgname-doc"
options="!check"
source="https://mirrors.edge.kernel.org/pub/software/network/wireless-regdb/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

package() {
	cd "$builddir"
	install -D -m644 "$builddir"/regulatory.bin "$pkgdir"/usr/lib/crda/regulatory.bin
	install -D -m644 "$builddir"/regulatory.bin.5 "$pkgdir"/usr/share/man/man5/regulatory.bin.5
	install -D -m644 "$builddir"/regulatory.db "$pkgdir"/lib/firmware/regulatory.db
	install -D -m644 "$builddir"/regulatory.db.p7s "$pkgdir"/lib/firmware/regulatory.db.p7s
}

sha512sums="fda18edd619b294b125a5c1e04e758c04332c6d1d99ed44574321753294c159bd6c6f0c592ebfd91e99d301467e8ee8b97d1ad595cd56b3902bd5f85acd95b8d  wireless-regdb-2018.05.31.tar.xz"