[arch-commits] Commit in broadcom-wl/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Oct 11 19:19:33 UTC 2019


    Date: Friday, October 11, 2019 @ 19:19:32
  Author: heftig
Revision: 515099

6.30.223.271-139: kernel 5.3.6.arch1-1; removal of extramodules-ARCH

Modified:
  broadcom-wl/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-11 19:19:31 UTC (rev 515098)
+++ PKGBUILD	2019-10-11 19:19:32 UTC (rev 515099)
@@ -5,7 +5,7 @@
 #_kernelname=-custom      # Build against kernel with a different name
 pkgname=${_module}${_kernelname}
 pkgver=6.30.223.271
-pkgrel=138
+pkgrel=139
 pkgdesc='Broadcom 802.11 Linux STA wireless driver'
 arch=('x86_64')
 url='https://www.broadcom.com/support/download-search/?pf=Wireless+LAN+Infrastructure'
@@ -13,16 +13,15 @@
 depends=("linux${_kernelname}")
 makedepends=("linux${_kernelname}-headers" "${_module}-dkms=${pkgver}")
 
-_extramodules="/usr/lib/modules/extramodules${_kernelname:--ARCH}"
-
 build() {
-    _kernver="$(<${_extramodules}/version)"
+    _kernver=$(</usr/src/linux${_kernelname}/version)
 
     dkms build --dkmstree "${srcdir}" -m ${_module}/${pkgver} -k ${_kernver}
 }
 
 package() {
-    _kernver="$(<${_extramodules}/version)"
+    _kernver=$(</usr/src/linux${_kernelname}/version)
+    _extramodules="/usr/lib/modules/${_kernver}/extramodules"
 
     install -Dm644 -t "${pkgdir}${_extramodules}" \
         ${_module}/${pkgver}/${_kernver}/${CARCH}/module/*



More information about the arch-commits mailing list