summaryrefslogtreecommitdiff
path: root/user/wireguard-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/wireguard-tools/APKBUILD')
-rw-r--r--user/wireguard-tools/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/user/wireguard-tools/APKBUILD b/user/wireguard-tools/APKBUILD
index f8b73ca70..5b41e185c 100644
--- a/user/wireguard-tools/APKBUILD
+++ b/user/wireguard-tools/APKBUILD
@@ -1,8 +1,7 @@
# Contributor: Luis Ressel <aranea@aixah.de>
# Maintainer: Luis Ressel <aranea@aixah.de>
pkgname=wireguard-tools
-_pkgreal=WireGuard
-pkgver=0.0.20190913
+pkgver=1.0.20200121
pkgrel=0
pkgdesc="Userland tools for the WireGuard VPN"
url="https://www.wireguard.com/"
@@ -11,18 +10,15 @@ options="!check" # no test suite
license="GPL-2.0-only"
depends="bash iproute2"
makedepends="libmnl-dev"
-subpackages="$pkgname-bash-completion:bashcomp:noarch $pkgname-doc wireguard-patch:_patch:noarch"
-source="https://git.zx2c4.com/WireGuard/snapshot/$_pkgreal-$pkgver.tar.xz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+subpackages="$pkgname-bash-completion:bashcomp:noarch $pkgname-doc"
+source="https://git.zx2c4.com/$pkgname/snapshot/$pkgname-$pkgver.tar.xz"
build() {
- cd "$builddir"
- make RUNSTATEDIR=/run -C src/tools
+ make RUNSTATEDIR=/run -C src
}
package() {
- cd "$builddir"
- make WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes DESTDIR="$pkgdir" -C src/tools install
+ make WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes DESTDIR="$pkgdir" -C src install
}
bashcomp() {
@@ -33,14 +29,4 @@ bashcomp() {
mv "$pkgdir/usr/share/bash-completion" "$subpkgdir/usr/share/"
}
-_patch() {
- depends=""
- pkgdesc="Kernel patch for the WireGuard VPN"
-
- cd "$builddir"
- mkdir -p "$subpkgdir/usr/share/wireguard"
- contrib/kernel-tree/create-patch.sh > "$subpkgdir/usr/share/wireguard/wireguard-$pkgver.patch"
-
-}
-
-sha512sums="0d6e754df2f919c288ffe46131df29624e9958d39220369558089218c386450733f2baf97eb5d14154aa17a8d6b01bb0c34e3a1c4587830ed0d792d6ef06aa05 WireGuard-0.0.20190913.tar.xz"
+sha512sums="cd22467916c59ab53440e072fee6d0b01f2f9ee06fc3b71de4e74bc3aab05caf25519e5f723d9d160c491f917b7f064ee6b491c74edb52d7d2c29a08d86e41c2 wireguard-tools-1.0.20200121.tar.xz"