# Template file for 'wireguard-dkms' pkgname=wireguard-dkms version=1.0.20210219 revision=1 wrksrc="wireguard-linux-compat-${version}" build_wrksrc="src" depends="dkms wireguard-tools perl" short_desc="Fast, modern, secure VPN tunnel (DKMS module for Linux <= 5.5)" maintainer="Leah Neukirchen " license="GPL-2.0-only" homepage="https://www.wireguard.com/" distfiles="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${version}.tar.xz" checksum=99d35296b8d847a0d4db97a4dda96b464311a6354e75fe0bef6e7c4578690f00 dkms_modules="wireguard ${version}" do_install() { make DESTDIR="${DESTDIR}" \ DKMSDIR="/usr/src/wireguard-${version}/" dkms-install }