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

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
}

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
}

md5sums="d282cce92b6e692e8673e2bd97adf33b  wireless-regdb-2016.06.10.tar.xz"
sha256sums="cfedf1c3521b3c8f32602f25ed796e96e687c3441a00e7c050fedf7fd4f1b8b7  wireless-regdb-2016.06.10.tar.xz"
sha512sums="8064d18232924d86633df9e1195e9521f8f9ca0216f1e664591e3163d583085971b743b9fbbce196e650f239c231caebb7807c5019fcb409b950c6fbd8396f22  wireless-regdb-2016.06.10.tar.xz"