From b71ae5b4a0e6b3ef0aec30443f8cccf75afd7237 Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Sun, 12 Dec 2021 16:09:24 +0000 Subject: [PATCH] Add PKGBUILD --- trunk/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 trunk/PKGBUILD diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD new file mode 100644 index 00000000..d3f88f64 --- /dev/null +++ b/trunk/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Alexander Winkowski +# Contributor: Jason A. Donenfeld + +pkgname=notwireguard-dkms +pkgver=1.0.20211208 +pkgrel=1 +pkgdesc='next generation secure network tunnel - module sources' +arch=('x86_64') +url='https://www.wireguard.com/' +license=('GPL') +depends=('dkms') +source=("notwireguard-linux-compat::git+https://github.com/dereference23/notwireguard-linux-compat") +sha256sums=('SKIP') + +package() { + cd notwireguard-linux-compat/ + + make -C src/ \ + DESTDIR="${pkgdir}/" \ + DKMSDIR="/usr/src/notwireguard-${pkgver}/" \ + dkms-install +}