[arch-commits] Commit in broadcom-wl/repos/community-testing-x86_64 (2 files)
Jan Steffens
heftig at archlinux.org
Sat May 15 21:49:40 UTC 2021
Date: Saturday, May 15, 2021 @ 21:49:39
Author: heftig
Revision: 934821
archrelease: copy trunk to community-testing-x86_64
Added:
broadcom-wl/repos/community-testing-x86_64/PKGBUILD
(from rev 934816, broadcom-wl/trunk/PKGBUILD)
Deleted:
broadcom-wl/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 21:49:39 UTC (rev 934820)
+++ PKGBUILD 2021-05-15 21:49:39 UTC (rev 934821)
@@ -1,41 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_module=broadcom-wl
-_kernelname= # Build against stock -ARCH kernel
-#_kernelname=-custom # Build against kernel with a different name
-pkgname=${_module}${_kernelname}
-pkgver=6.30.223.271
-pkgrel=295
-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')
-makedepends=("linux${_kernelname}-headers" "${_module}-dkms=${pkgver}")
-
-build() {
- _kernver=$(</usr/src/linux${_kernelname}/version)
-
- fakeroot dkms build --dkmstree "${srcdir}" -m ${_module}/${pkgver} -k ${_kernver}
-}
-
-package() {
- depends=("linux${_kernelname}")
-
- _kernver=$(</usr/src/linux${_kernelname}/version)
- _extramodules="/usr/lib/modules/${_kernver}/extramodules"
-
- 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}/*
- fi
- _modprobe="/usr/lib/modprobe.d/${_module}-dkms.conf"
- if [[ -r ${_modprobe} ]]; then
- install -Dm644 ${_modprobe} "${pkgdir}"/${_modprobe/-dkms/${_kernelname}}
- fi
-}
Copied: broadcom-wl/repos/community-testing-x86_64/PKGBUILD (from rev 934816, broadcom-wl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-15 21:49:39 UTC (rev 934821)
@@ -0,0 +1,41 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_module=broadcom-wl
+_kernelname= # Build against stock -ARCH kernel
+#_kernelname=-custom # Build against kernel with a different name
+pkgname=${_module}${_kernelname}
+pkgver=6.30.223.271
+pkgrel=296
+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')
+makedepends=("linux${_kernelname}-headers" "${_module}-dkms=${pkgver}")
+
+build() {
+ _kernver=$(</usr/src/linux${_kernelname}/version)
+
+ fakeroot dkms build --dkmstree "${srcdir}" -m ${_module}/${pkgver} -k ${_kernver}
+}
+
+package() {
+ depends=("linux${_kernelname}")
+
+ _kernver=$(</usr/src/linux${_kernelname}/version)
+ _extramodules="/usr/lib/modules/${_kernver}/extramodules"
+
+ 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}/*
+ fi
+ _modprobe="/usr/lib/modprobe.d/${_module}-dkms.conf"
+ if [[ -r ${_modprobe} ]]; then
+ install -Dm644 ${_modprobe} "${pkgdir}"/${_modprobe/-dkms/${_kernelname}}
+ fi
+}
More information about the arch-commits
mailing list