[arch-commits] Commit in broadcom-wl/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Oct 25 13:19:07 UTC 2019
Date: Friday, October 25, 2019 @ 13:19:07
Author: heftig
Revision: 518866
6.30.223.271-141: kernel 5.3.7.arch1-2
Modified:
broadcom-wl/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-25 13:19:00 UTC (rev 518865)
+++ PKGBUILD 2019-10-25 13:19:07 UTC (rev 518866)
@@ -5,12 +5,11 @@
#_kernelname=-custom # Build against kernel with a different name
pkgname=${_module}${_kernelname}
pkgver=6.30.223.271
-pkgrel=140
+pkgrel=141
pkgdesc='Broadcom 802.11 Linux STA wireless driver'
arch=('x86_64')
url='https://www.broadcom.com/support/download-search/?pf=Wireless+LAN+Infrastructure'
license=('custom')
-depends=("linux${_kernelname}")
makedepends=("linux${_kernelname}-headers" "${_module}-dkms=${pkgver}")
build() {
@@ -20,6 +19,8 @@
}
package() {
+ depends=("linux${_kernelname}")
+
_kernver=$(</usr/src/linux${_kernelname}/version)
_extramodules="/usr/lib/modules/${_kernver}/extramodules"
@@ -26,6 +27,9 @@
install -Dm644 -t "${pkgdir}${_extramodules}" \
${_module}/${pkgver}/${_kernver}/${CARCH}/module/*
+ # compress kernel modules
+ find "$pkgdir" -name "*.ko" -exec xz {} +
+
_license="/usr/share/licenses/${_module}-dkms"
if [[ -d ${_license} ]]; then
install -Dm644 -t "${pkgdir}"/${_license/-dkms/${_kernelname}} ${_license}/*
More information about the arch-commits
mailing list