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

Jan Steffens heftig at archlinux.org
Thu May 2 22:30:40 UTC 2019


    Date: Thursday, May 2, 2019 @ 22:30:39
  Author: heftig
Revision: 457852

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

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

Copied: wireguard-arch/repos/community-staging-x86_64/PKGBUILD (from rev 457851, wireguard-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-02 22:30:39 UTC (rev 457852)
@@ -0,0 +1,27 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=wireguard-arch
+pkgver=0.0.20190406
+pkgrel=6
+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