2019-09-05 18:11:15 +08:00
|
|
|
# Maintainer: Megumifox <i@megumifox.com>
|
|
|
|
|
|
|
|
buildarch=28
|
|
|
|
|
|
|
|
pkgname=firmware-phicomm-n1
|
|
|
|
pkgver=6
|
2019-09-08 00:45:46 +08:00
|
|
|
pkgrel=9
|
2019-09-05 18:11:15 +08:00
|
|
|
pkgdesc="Additional firmware for Phicomm N1"
|
|
|
|
arch=('any')
|
2019-09-05 20:41:24 +08:00
|
|
|
conflicts=('firmware-raspberrypi')
|
2019-09-07 20:39:02 +08:00
|
|
|
depends=('wireless-regdb' 'uboot-tools')
|
|
|
|
install=${pkgname}.install
|
2019-09-05 18:11:15 +08:00
|
|
|
url="https://github.com/RPi-Distro"
|
|
|
|
license=('custom')
|
|
|
|
_commitid_wl=130cb86fa30cafbd575d38865fa546350d4c5f9c
|
|
|
|
_commitid_bt=96eefffcccc725425fd83be5e0704a5c32b79e54
|
|
|
|
options=('!strip')
|
|
|
|
source=("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"
|
|
|
|
"https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/$_commitid_bt/broadcom/BCM4345C0.hcd")
|
|
|
|
sha256sums=('8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
|
|
|
|
'bddee0eff55a11e939e000ad341c951c7ee67758fc26b838b0472792aed33639'
|
|
|
|
'd09ce049f65619f007d604069d2b4d2a3ffe3cf897245287ef379955ce3969de')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -d "${pkgdir}/usr/lib/firmware/brcm"
|
2019-09-05 20:31:15 +08:00
|
|
|
install -m 0644 *.hcd *.txt *.clm_blob "${pkgdir}/usr/lib/firmware/brcm"
|
2019-09-05 20:41:24 +08:00
|
|
|
install -m 0644 brcmfmac43455-sdio.txt "${pkgdir}/usr/lib/firmware/brcm/brcmfmac43455-sdio.phicomm,n1.txt"
|
2019-09-05 18:11:15 +08:00
|
|
|
}
|