[arch-commits] Commit in broadcom-wl/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Jul 29 12:26:24 UTC 2018
Date: Sunday, July 29, 2018 @ 12:26:23
Author: heftig
Revision: 364481
6.30.223.271-33: kernel 4.17.11-1
Modified:
broadcom-wl/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-29 12:26:22 UTC (rev 364480)
+++ PKGBUILD 2018-07-29 12:26:23 UTC (rev 364481)
@@ -1,11 +1,11 @@
# $Id$
# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-pkgname=broadcom-wl # Build against stock -ARCH kernel
+pkgname=broadcom-wl # Build against stock -arch kernel
#pkgname=broadcom-wl-custom # Build agains kernel with a different name
_kernelname=${pkgname#broadcom-wl}
pkgver=6.30.223.271
-pkgrel=32
+pkgrel=33
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:--arch}"/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:--arch}/version)"
- install -Dm644 -t "${pkgdir}/usr/lib/modules/extramodules-${_kernmajor}${_kernelname:--ARCH}" \
+ install -Dm644 -t "${pkgdir}/usr/lib/modules/extramodules-${_kernmajor}${_kernelname:--arch}" \
${pkgname}/${pkgver}/${_kernver}/${CARCH}/module/*.ko
find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
More information about the arch-commits
mailing list