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

Jan Steffens heftig at archlinux.org
Sat Apr 27 22:32:30 UTC 2019


    Date: Saturday, April 27, 2019 @ 22:32:28
  Author: heftig
Revision: 454824

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

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

Copied: wireguard-arch/repos/community-staging-x86_64/PKGBUILD (from rev 454823, wireguard-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-04-27 22:32:28 UTC (rev 454824)
@@ -0,0 +1,27 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=wireguard-arch
+pkgver=0.0.20190406
+pkgrel=5
+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