2023-10-21 11:59:43 +00:00
|
|
|
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
|
2021-06-25 02:58:39 +00:00
|
|
|
# Contributor: Christian Hesse <mail@eworm.de>
|
|
|
|
# Contributor: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
|
|
|
|
|
|
pkgname=wireguard-dkms
|
2022-06-27 20:33:36 +00:00
|
|
|
pkgver=1.0.20220627
|
2021-06-25 02:58:39 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='next generation secure network tunnel - module sources'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://www.wireguard.com/'
|
|
|
|
license=('GPL')
|
|
|
|
depends=('dkms')
|
|
|
|
provides=('WIREGUARD-MODULE')
|
|
|
|
validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <Jason@zx2c4.com>
|
|
|
|
source=("https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${pkgver}.tar"{.xz,.asc})
|
2022-06-27 20:33:36 +00:00
|
|
|
sha256sums=('362d412693c8fe82de00283435818d5c5def7f15e2433a07a9fe99d0518f63c0'
|
2021-06-25 02:58:39 +00:00
|
|
|
'SKIP')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd wireguard-linux-compat-${pkgver}/
|
|
|
|
|
|
|
|
make -C src/ \
|
|
|
|
DESTDIR="${pkgdir}/" \
|
|
|
|
DKMSDIR="/usr/src/wireguard-${pkgver}/" \
|
|
|
|
dkms-install
|
|
|
|
}
|