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

Jan Steffens heftig at archlinux.org
Sun May 5 19:47:10 UTC 2019


    Date: Sunday, May 5, 2019 @ 19:47:10
  Author: heftig
Revision: 460193

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

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

Copied: wireguard-arch/repos/community-staging-x86_64/PKGBUILD (from rev 460190, wireguard-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-05 19:47:10 UTC (rev 460193)
@@ -0,0 +1,27 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=wireguard-arch
+pkgver=0.0.20190406
+pkgrel=9
+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