summaryrefslogtreecommitdiff
path: root/libre/wireguard-lts/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-06-04 08:09:40 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-06-04 18:18:21 -0400
commit3435f24c14fd196529471669562ed85f8c79dd47 (patch)
tree3907dacdb8f1f1566d7c54ee3d18cd233b16ab91 /libre/wireguard-lts/PKGBUILD
parenteb3b88e83e188ae8f46ea16583f559ee19f58d32 (diff)
downloadabslibre-3435f24c14fd196529471669562ed85f8c79dd47.tar.gz
abslibre-3435f24c14fd196529471669562ed85f8c79dd47.tar.bz2
abslibre-3435f24c14fd196529471669562ed85f8c79dd47.zip
[wireguard-lts]: remove package - is standard in linux now
Diffstat (limited to 'libre/wireguard-lts/PKGBUILD')
-rw-r--r--libre/wireguard-lts/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/libre/wireguard-lts/PKGBUILD b/libre/wireguard-lts/PKGBUILD
deleted file mode 100644
index 8f1af806a..000000000
--- a/libre/wireguard-lts/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer (Arch): Christian Hesse <mail@eworm.de>
-# Contributor: Andreas Grapentin <andreas@grapentin.org>
-
-_basekernel=5.4.78
-
-pkgname=wireguard-lts
-_pkgver_x86_64=1.0.20201112
-_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="$(</usr/src/linux-libre-lts/version)"
-
- fakeroot dkms build --dkmstree "$srcdir" -m wireguard/$pkgver -k $_kernver
-}
-
-package() {
- depends=(linux-libre-lts=${_basekernel%-*})
-
- _kernver="$(</usr/src/linux-libre-lts/version)"
-
- install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 \
- wireguard/${pkgver}/$_kernver/$CARCH/module/*
-
- # compress each module individually
- find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
-}
-
-