pkgbuilds/firmware-phicomm-n1/PKGBUILD

31 lines
1.4 KiB
Bash
Raw Normal View History

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=3
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')
2019-11-06 14:08:43 +08:00
_commitid_wl=00daf85ffa373ecce7836df7543c6ebe4cf43639
_commitid_bt=fff76cb15527c435ce99a9787848eacd6288282c
2019-09-05 18:11:15 +08:00
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"
2019-12-23 19:32:06 +08:00
"https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$_commitid_wl/brcm/brcmfmac43455-sdio.bin"
2019-09-05 18:11:15 +08:00
"https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/$_commitid_bt/broadcom/BCM4345C0.hcd")
sha256sums=('8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
'bddee0eff55a11e939e000ad341c951c7ee67758fc26b838b0472792aed33639'
2019-12-23 19:32:06 +08:00
'0f1817f50649df707f521dec9f2d5905e4c01939c8aabfa9a06b2ce0a36952ee'
'9a4beeb7ca6d2ed8d6ecdf5ee7b0dac3c6042a702ac232eec812744129bfe640')
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"
install -m 0644 *.hcd *.txt *.bin *.clm_blob "${pkgdir}/usr/lib/firmware/updates/brcm"
install -m 0644 brcmfmac43455-sdio.txt "${pkgdir}/usr/lib/firmware/updates/brcm/brcmfmac43455-sdio.phicomm,n1.txt"
2019-09-05 18:11:15 +08:00
}