[arch-commits] Commit in broadcom-wl/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Aug 1 05:05:39 UTC 2018
Date: Wednesday, August 1, 2018 @ 05:05:38
Author: heftig
Revision: 366168
6.30.223.271-34: kernel 4.17.11.arch1-1
Modified:
broadcom-wl/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-01 05:05:37 UTC (rev 366167)
+++ PKGBUILD 2018-08-01 05:05:38 UTC (rev 366168)
@@ -5,7 +5,7 @@
#pkgname=broadcom-wl-custom # Build agains kernel with a different name
_kernelname=${pkgname#broadcom-wl}
pkgver=6.30.223.271
-pkgrel=33
+pkgrel=34
pkgdesc='Broadcom 802.11 Linux STA wireless driver'
arch=('x86_64')
url='https://www.broadcom.com/support/download-search/?pf=Wireless+LAN+Infrastructure'
@@ -15,7 +15,7 @@
build() {
_kernmajor="$(pacman -Q linux${_kernelname} | sed -r 's/linux'"${_kernelname}"' ([0-9]*.[0-9]*).*/\1/')"
- _kernver="$(</usr/lib/modules/extramodules-"${_kernmajor}${_kernelname:--arch}"/version)"
+ _kernver="$(</usr/lib/modules/extramodules-"${_kernmajor}${_kernelname}"/version)"
dkms build --dkmstree "$srcdir" -m $pkgname/$pkgver -k $_kernver
}
@@ -22,9 +22,9 @@
package() {
_kernmajor="$(pacman -Q linux${_kernelname} | sed -r 's/linux'"${_kernelname}"' ([0-9]*.[0-9]*).*/\1/')"
- _kernver="$(</usr/lib/modules/extramodules-${_kernmajor}${_kernelname:--arch}/version)"
+ _kernver="$(</usr/lib/modules/extramodules-${_kernmajor}${_kernelname}/version)"
- install -Dm644 -t "${pkgdir}/usr/lib/modules/extramodules-${_kernmajor}${_kernelname:--arch}" \
+ install -Dm644 -t "${pkgdir}/usr/lib/modules/extramodules-${_kernmajor}${_kernelname}" \
${pkgname}/${pkgver}/${_kernver}/${CARCH}/module/*.ko
find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
More information about the arch-commits
mailing list