diff options
Diffstat (limited to 'user/wireguard-tools/APKBUILD')
-rw-r--r-- | user/wireguard-tools/APKBUILD | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/user/wireguard-tools/APKBUILD b/user/wireguard-tools/APKBUILD index 1ee00b549..37aeb1ab7 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.20191012 +pkgver=1.0.20200102 pkgrel=0 pkgdesc="Userland tools for the WireGuard VPN" url="https://www.wireguard.com/" @@ -11,18 +10,18 @@ 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" +builddir="$srcdir/$pkgname-$pkgver" 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 +32,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="b15424036f26298d8511ca0d0d6a485ff0992726d61fabff8bf6dd64d0a65423bf901e5eb14d3080372017390b05d25faff89a72128932c7408f93f59165c321 WireGuard-0.0.20191012.tar.xz" +sha512sums="a4275eefc55b2a7ed3935a46a2098f9b0acdfaf0e1ed33ca42b51a186b388b53425ded5887e2cfc5be2802d6a453b8ebbf0294800ec1307a2dc21f46bd040da6 wireguard-tools-1.0.20200102.tar.xz" |