update: firmware-phicomm-n1 to 7-4

This commit is contained in:
Archlinux-Jerry Build Bot 2020-01-12 20:08:10 +08:00
parent e49714006f
commit 2417be9f18

View file

@ -1,9 +1,10 @@
# Maintainer: Megumifox <i@megumifox.com>
buildarch=28 buildarch=28
pkgname=firmware-phicomm-n1 pkgname=firmware-phicomm-n1
pkgver=7 pkgver=7
pkgrel=3 pkgrel=4
pkgdesc="Additional firmware for Phicomm N1" pkgdesc="Additional firmware for Phicomm N1"
arch=('any') arch=('any')
conflicts=('firmware-raspberrypi') conflicts=('firmware-raspberrypi')
@ -13,11 +14,12 @@ url="https://github.com/RPi-Distro"
license=('custom') license=('custom')
_commitid_wl=00daf85ffa373ecce7836df7543c6ebe4cf43639 _commitid_wl=00daf85ffa373ecce7836df7543c6ebe4cf43639
_commitid_bt=fff76cb15527c435ce99a9787848eacd6288282c _commitid_bt=fff76cb15527c435ce99a9787848eacd6288282c
_ver="${pkgver}.${pkgrel}"
options=('!strip') options=('!strip')
source=("https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.clm_blob" source=("brcmfmac43455-sdio_$_ver.clm_blob::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.clm_blob"
"https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.txt" "brcmfmac43455-sdio_$_ver.txt::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.txt"
"https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.bin" "brcmfmac43455-sdio_$_ver.bin::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.bin"
"https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/$_commitid_bt/broadcom/BCM4345C0.hcd") "BCM4345C0_$_ver.hcd::https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/$_commitid_bt/broadcom/BCM4345C0.hcd")
sha256sums=('8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e' sha256sums=('8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
'bddee0eff55a11e939e000ad341c951c7ee67758fc26b838b0472792aed33639' 'bddee0eff55a11e939e000ad341c951c7ee67758fc26b838b0472792aed33639'
'0f1817f50649df707f521dec9f2d5905e4c01939c8aabfa9a06b2ce0a36952ee' '0f1817f50649df707f521dec9f2d5905e4c01939c8aabfa9a06b2ce0a36952ee'
@ -25,6 +27,10 @@ sha256sums=('8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
package() { package() {
install -d "${pkgdir}/usr/lib/firmware/updates/brcm" install -d "${pkgdir}/usr/lib/firmware/updates/brcm"
install -m 0644 *.hcd *.txt *.bin *.clm_blob "${pkgdir}/usr/lib/firmware/updates/brcm" install -m 0644 brcmfmac43455-sdio_$_ver.clm_blob "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.clm_blob"
install -m 0644 brcmfmac43455-sdio.txt "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.phicomm,n1.txt" install -m 0644 brcmfmac43455-sdio_$_ver.txt "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.txt"
install -m 0644 brcmfmac43455-sdio_$_ver.bin "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.bin"
install -m 0644 BCM4345C0_$_ver.hcd "${pkgdir}/usr/lib/firmware/updates/brcm/BCM4345C0.hcd"
install -m 0644 brcmfmac43455-sdio_$_ver.txt "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.phicomm,n1.txt"
} }