From 9b98e2e03da4d14e0fe14d97e9f93201cf9669a6 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 21 May 2019 12:00:29 +0000 Subject: community/wireguard-rpi: adjust install_if trigger on wireguard-tools-wg which should work in all cases --- community/wireguard-rpi/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'community/wireguard-rpi/APKBUILD') diff --git a/community/wireguard-rpi/APKBUILD b/community/wireguard-rpi/APKBUILD index cecf209646..b31a95885b 100644 --- a/community/wireguard-rpi/APKBUILD +++ b/community/wireguard-rpi/APKBUILD @@ -23,7 +23,7 @@ fi pkgname=wireguard-$_flavor pkgver=$_kver -pkgrel=1 +pkgrel=2 pkgrel=$(($pkgrel + $_krel)) pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor" @@ -36,7 +36,7 @@ makedepends=" linux-$_flavor-dev=$_kpkgver linux-firmware-none " -install_if="wireguard-tools=$_ver-r$_rel linux-$_flavor=$_kpkgver" +install_if="wireguard-tools-wg=$_ver-r$_rel linux-$_flavor=$_kpkgver" options="!check" source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$_ver.tar.xz" builddir="$srcdir"/WireGuard-$_ver @@ -87,7 +87,7 @@ package() { _extra() { flavor=${subpkgname##*-} depends="linux-$flavor=$_kpkgver" - install_if="wireguard-tools=$_ver-r$_rel linux-$flavor=$_kpkgver" + install_if="wireguard-tools-wg=$_ver-r$_rel linux-$flavor=$_kpkgver" pkgdesc="Next generation secure network tunnel: kernel modules for $flavor" local kabi="$_kver-$_krel-$flavor" install -Dm644 "$srcdir"/$flavor/src/wireguard.ko \ -- cgit v1.2.3