PKGBUILDs/aur/wireguard-dkms/PKGBUILD
2021-12-08 10:55:39 -05:00

26 lines
843 B
Bash

# Maintainer: graysky <graysky AT archlinux DOT us>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Jason A. Donenfeld <Jason@zx2c4.com>
pkgname=wireguard-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')
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})
sha256sums=('c0e607138a17daac656f508d8e63ea3737b5221fa5d9288191ddeb099f5a3b92'
'SKIP')
package() {
cd wireguard-linux-compat-${pkgver}/
make -C src/ \
DESTDIR="${pkgdir}/" \
DKMSDIR="/usr/src/wireguard-${pkgver}/" \
dkms-install
}