aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireguard-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wireguard-tools/APKBUILD')
-rw-r--r--community/wireguard-tools/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/wireguard-tools/APKBUILD b/community/wireguard-tools/APKBUILD
index d70554ce4d..06129d0367 100644
--- a/community/wireguard-tools/APKBUILD
+++ b/community/wireguard-tools/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
-
-# NOTE: pkgrel must match _toolsrel in wireguard-vanilla
pkgname=wireguard-tools
pkgver=0.0.20190601
-pkgrel=0
+pkgrel=1
pkgdesc="Next generation secure network tunnel: userspace tools"
-arch='all'
-url='https://www.wireguard.com'
-license="GPL-2.0"
+arch="all"
+url="https://www.wireguard.com"
+# SPDX identifier headers tells us 'GPL-2.0' but considering it
+# is a kernel project i think it is safe to assume it is GPL-2.0-only just
+# like the kernel.
+license="GPL-2.0-only"
makedepends="libmnl-dev"
depends="$pkgname-wg $pkgname-wg-quick"
subpackages="
@@ -24,12 +25,10 @@ source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz
builddir="$srcdir"/WireGuard-$pkgver
build() {
- cd "$builddir"
make -C src/tools
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
make -C src/tools \