From b7667e063f6c60c16a362dd4e3c06274901b1274 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 31 Dec 2019 14:24:07 +0100 Subject: [PATCH] New package: wireguard-dkms-0.0.20191226 Closes #17889. --- srcpkgs/wireguard-dkms/template | 20 ++++++++++++++++++++ srcpkgs/wireguard-dkms/update | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 srcpkgs/wireguard-dkms/template create mode 100644 srcpkgs/wireguard-dkms/update diff --git a/srcpkgs/wireguard-dkms/template b/srcpkgs/wireguard-dkms/template new file mode 100644 index 00000000000..5b54f114811 --- /dev/null +++ b/srcpkgs/wireguard-dkms/template @@ -0,0 +1,20 @@ +# Template file for 'wireguard-dkms' +pkgname=wireguard-dkms +version=0.0.20191226 +revision=1 +wrksrc="wireguard-linux-compat-${version}" +build_wrksrc="src" +depends="dkms wireguard-tools" +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=7c0e576459c6337bcdea692bdbec561719a15da207dc739e0e3e60ff821a5491 + +dkms_modules="wireguard ${version}" + +do_install() { + make DESTDIR="${DESTDIR}" \ + DKMSDIR="/usr/src/wireguard-${version}/" dkms-install +} diff --git a/srcpkgs/wireguard-dkms/update b/srcpkgs/wireguard-dkms/update new file mode 100644 index 00000000000..07f8e6b62f6 --- /dev/null +++ b/srcpkgs/wireguard-dkms/update @@ -0,0 +1,2 @@ +site='https://git.zx2c4.com/wireguard-linux-compat/' +pattern='wireguard-linux-compat-\K[\d.]*\d'