[arch-commits] Commit in wireguard-arch/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Oct 11 19:19:47 UTC 2019
Date: Friday, October 11, 2019 @ 19:19:46
Author: heftig
Revision: 515106
0.0.20190913-9: kernel 5.3.6.arch1-1; removal of extramodules-ARCH
Modified:
wireguard-arch/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-11 19:19:45 UTC (rev 515105)
+++ PKGBUILD 2019-10-11 19:19:46 UTC (rev 515106)
@@ -2,7 +2,7 @@
pkgname=wireguard-arch
pkgver=0.0.20190913
-pkgrel=8
+pkgrel=9
pkgdesc='Wireguard module for Arch Kernel'
url='https://www.wireguard.com/'
arch=('x86_64')
@@ -12,13 +12,11 @@
conflicts=('wireguard-dkms')
provides=('WIREGUARD-MODULE')
-_extramodules='extramodules-ARCH'
-
package() {
- _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+ _kernver="$(</usr/src/linux/version)"
cd "/var/lib/dkms/wireguard/${pkgver}/$_kernver/$CARCH/module"
- install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m0644 *
+ install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 *
# compress each module individually
find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
More information about the arch-commits
mailing list