[arch-commits] Commit in wireguard-lts/repos (2 files)
Andreas Radke
andyrtr at archlinux.org
Fri Oct 18 10:05:07 UTC 2019
Date: Friday, October 18, 2019 @ 10:05:06
Author: andyrtr
Revision: 516726
archrelease: copy trunk to community-testing-x86_64
Added:
wireguard-lts/repos/community-testing-x86_64/
wireguard-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 516725, wireguard-lts/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: wireguard-lts/repos/community-testing-x86_64/PKGBUILD (from rev 516725, wireguard-lts/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-10-18 10:05:06 UTC (rev 516726)
@@ -0,0 +1,25 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=wireguard-lts
+pkgver=0.0.20191012
+pkgrel=2
+pkgdesc='Wireguard module for LTS Kernel'
+url='https://www.wireguard.com/'
+arch=('x86_64')
+license=('GPL')
+depends=('linux-lts')
+makedepends=('linux-lts-headers' "wireguard-dkms>=$pkgver")
+conflicts=('wireguard-dkms')
+provides=('WIREGUARD-MODULE')
+
+package() {
+ _kernver="$(</usr/src/linux-lts/version)"
+
+ cd "/var/lib/dkms/wireguard/${pkgver}/$_kernver/$CARCH/module"
+ install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 *
+
+ # compress each module individually
+ find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list