Date: Friday, January 10, 2020 @ 19:33:28 Author: eworm Revision: 373139
community2extra: Moving wireguard-dkms from community to extra Added: wireguard-dkms/ wireguard-dkms/repos/ wireguard-dkms/trunk/ wireguard-dkms/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Added: wireguard-dkms/trunk/PKGBUILD =================================================================== --- wireguard-dkms/trunk/PKGBUILD (rev 0) +++ wireguard-dkms/trunk/PKGBUILD 2020-01-10 19:33:28 UTC (rev 373139) @@ -0,0 +1,25 @@ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Jason A. Donenfeld <ja...@zx2c4.com> + +pkgname=wireguard-dkms +pkgver=0.0.20200105 +pkgrel=1 +pkgdesc='next generation secure network tunnel - module sources' +arch=('x86_64') +url='http://www.wireguard.com/' +license=('GPL') +depends=('dkms') +provides=('WIREGUARD-MODULE') +validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <ja...@zx2c4.com> +source=("https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${pkgver}.tar"{.xz,.asc}) +sha256sums=('9f12f68e96f6865325995c38213e09b05751cd1ef03e0bbc9f1bdc3e5680b337' + 'SKIP') + +package_wireguard-dkms() { + cd wireguard-linux-compat-${pkgver}/ + + make -C src/ \ + DESTDIR="${pkgdir}/" \ + DKMSDIR="/usr/src/wireguard-${pkgver}/" \ + dkms-install +}