[arch-commits] Commit in wireguard-arch/repos (2 files)

Jan Steffens heftig at archlinux.org
Sat May 4 13:36:44 UTC 2019


    Date: Saturday, May 4, 2019 @ 13:36:44
  Author: heftig
Revision: 458854

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 458852, wireguard-arch/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: wireguard-arch/repos/community-staging-x86_64/PKGBUILD (from rev 458852, wireguard-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-04 13:36:44 UTC (rev 458854)
@@ -0,0 +1,27 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=wireguard-arch
+pkgver=0.0.20190406
+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