From a93b5ba53bd85d31de711ba4c54d599668fbc032 Mon Sep 17 00:00:00 2001 From: oaken-source Date: Fri, 31 Jan 2020 11:22:08 +0100 Subject: libre/wireguard, libre/wireguard-lts: added --- libre/wireguard-lts/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ libre/wireguard/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 libre/wireguard-lts/PKGBUILD create mode 100644 libre/wireguard/PKGBUILD diff --git a/libre/wireguard-lts/PKGBUILD b/libre/wireguard-lts/PKGBUILD new file mode 100644 index 000000000..562c0354e --- /dev/null +++ b/libre/wireguard-lts/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer (Arch): Christian Hesse +# Contributor: Andreas Grapentin + +_basekernel=4.19.97-1 + +pkgname=wireguard-lts +_pkgver_x86_64=0.0.20200128 +_pkgver_i686=0.0.20200105 +_pkgver_armv7h=0.0.20200128 +eval "pkgver=\$_pkgver_${CARCH}" +pkgrel=1 +pkgrel+=.parabola1.basekernel${_basekernel%-*} +pkgdesc='Wireguard module for LTS Kernel' +pkgdesc+=' (built for the linux-libre-lts kernel package)' +url='https://www.wireguard.com/' +arch=('x86_64') +arch+=('i686' 'armv7h') +license=('GPL') +makedepends=(linux-libre-lts-headers=${_basekernel%-*} libelf "wireguard-dkms>=$pkgver") +conflicts=('wireguard-dkms') +provides=('WIREGUARD-MODULE') + +build() { + _kernver=$( +# Contributor: Andreas Grapentin + +_basekernel=5.4.12-1 + +pkgname=wireguard +_pkgver_x86_64=0.0.20200128 +_pkgver_i686=0.0.20200105 +_pkgver_armv7h=0.0.20200128 +eval "pkgver=\$_pkgver_${CARCH}" +pkgrel=2 +pkgrel+=.parabola1.basekernel${_basekernel%-*} +pkgdesc='Wireguard module for Linux Kernel' +pkgdesc+=' (built for the linux-libre kernel package)' +url='https://www.wireguard.com/' +arch=('x86_64') +arch+=('i686' 'armv7h') +license=('GPL') +makedepends=(linux-libre-headers=${_basekernel%-*} libelf "wireguard-dkms>=$pkgver") +conflicts=('wireguard-dkms' 'wireguard-arch') +replaces=('wireguard-arch') +provides=('WIREGUARD-MODULE') + +build() { + _kernver=$(