aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireless-regdb
diff options
context:
space:
mode:
Diffstat (limited to 'community/wireless-regdb')
-rw-r--r--community/wireless-regdb/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/wireless-regdb/APKBUILD b/community/wireless-regdb/APKBUILD
new file mode 100644
index 0000000000..7110cb9659
--- /dev/null
+++ b/community/wireless-regdb/APKBUILD
@@ -0,0 +1,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"