pkgbuilds/firmware-phicomm-n1/PKGBUILD

37 lines
1.9 KiB
Text
Raw Normal View History

2020-01-12 20:08:10 +08:00
# Maintainer: Megumifox <i@megumifox.com>
2019-09-05 18:11:15 +08:00
buildarch=28
pkgname=firmware-phicomm-n1
2019-11-06 14:08:43 +08:00
pkgver=7
pkgrel=6
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')
2020-11-22 11:15:29 +08:00
_commitid_wl=e57095024e2c1d0c679f451a22c5c2871f371462
_commitid_bt=a4e08822e3f24a6211f6ac94bc98b7ef87700c70
2020-01-12 20:08:10 +08:00
_ver="${pkgver}.${pkgrel}"
2019-09-05 18:11:15 +08:00
options=('!strip')
2020-01-12 20:08:10 +08:00
source=("brcmfmac43455-sdio_$_ver.clm_blob::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.clm_blob"
"brcmfmac43455-sdio_$_ver.txt::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.txt"
"brcmfmac43455-sdio_$_ver.bin::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.bin"
"BCM4345C0_$_ver.hcd::https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/$_commitid_bt/broadcom/BCM4345C0.hcd")
2019-09-05 18:11:15 +08:00
sha256sums=('8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
2020-11-22 11:15:29 +08:00
'ca709be81a78bdb6932936374f39943acbd7af07fae6151011127599a3ce9e3d'
'7fe369f7fdfded9eeceb8e438f7346e58634741b326d0715ad1b15275e6fa3a4'
'3f6b79a28b181e8e7ec9b04ef430a48d1f74e07321d386330594815e13544e96')
2019-09-05 18:11:15 +08:00
package() {
2019-12-23 19:32:06 +08:00
install -d "${pkgdir}/usr/lib/firmware/updates/brcm"
2020-01-12 20:08:10 +08:00
install -m 0644 brcmfmac43455-sdio_$_ver.clm_blob "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.clm_blob"
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"
2019-09-05 18:11:15 +08:00
}