[arch-commits] Commit in wireguard-arch/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sat Mar 23 22:45:31 UTC 2019
Date: Saturday, March 23, 2019 @ 22:45:30
Author: heftig
Revision: 443276
archrelease: copy trunk to community-staging-x86_64
Added:
wireguard-arch/repos/community-staging-x86_64/
wireguard-arch/repos/community-staging-x86_64/PKGBUILD
(from rev 443274, wireguard-arch/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: wireguard-arch/repos/community-staging-x86_64/PKGBUILD (from rev 443274, wireguard-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-03-23 22:45:30 UTC (rev 443276)
@@ -0,0 +1,27 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=wireguard-arch
+pkgver=0.0.20190227
+pkgrel=7
+pkgdesc='Wireguard module for Arch Kernel'
+url='https://www.wireguard.com/'
+arch=('x86_64')
+license=('GPL')
+depends=('linux')
+makedepends=('linux-headers' "wireguard-dkms>=$pkgver")
+conflicts=('wireguard-dkms')
+provides=('WIREGUARD-MODULE')
+
+_extramodules='extramodules-ARCH'
+
+package() {
+ _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+
+ cd "/var/lib/dkms/wireguard/${pkgver}/$_kernver/$CARCH/module"
+ install -Dt "$pkgdir/usr/lib/modules/$_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