PKGBUILDs/alarm/firmware-raspberrypi/PKGBUILD

44 lines
2.5 KiB
Bash
Raw Normal View History

2017-09-10 16:06:48 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: graysky <graysky@archlnux.us>
2017-09-10 16:06:48 +00:00
2018-02-08 00:29:33 +00:00
buildarch=28
2017-09-10 16:06:48 +00:00
pkgname=firmware-raspberrypi
_firmcommit=b66ab26cebff689d0d3257f56912b9bb03c20567
pkgver=20201225
pkgrel=2
2017-09-10 16:06:48 +00:00
pkgdesc="Additional firmware for Raspberry Pi"
2018-02-08 00:29:33 +00:00
arch=('any')
url="https://github.com/RPi-Distro/firmware-nonfree/commits/master/brcm"
2017-09-10 16:06:48 +00:00
license=('custom')
options=('!strip')
source=('https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.bin'
'https://archlinuxarm.org/builder/src/bcm43430/7.45.98.38/brcmfmac43430-sdio.txt'
'https://archlinuxarm.org/builder/src/bcm43430/BCM43430A1.hcd'
'https://archlinuxarm.org/builder/src/bcm43455/7.45.154/brcmfmac43455-sdio.bin'
'https://archlinuxarm.org/builder/src/bcm43455/7.45.154/brcmfmac43455-sdio.clm_blob'
'https://archlinuxarm.org/builder/src/bcm43455/7.45.154/brcmfmac43455-sdio.txt'
'https://archlinuxarm.org/builder/src/bcm43455/BCM4345C0.hcd'
"brcmfmac43456-sdio.bin::https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43456-sdio.bin"
"brcmfmac43456-sdio.clm_blob::https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43456-sdio.clm_blob"
"brcmfmac43456-sdio.txt::https://github.com/RPi-Distro/firmware-nonfree/raw/$_firmcommit/brcm/brcmfmac43456-sdio.txt"
2019-03-21 23:32:31 +00:00
'RPi-WM8804.conf')
sha256sums=('996b7ef7cbdb8ea3855fa516acb57630ff03a449fd3bb23e84789f2f04b4faf5'
'e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0'
'8dd70b9003d39cb6175b4f3cd509666dad66ad23d3be1a68385817fb814c8930'
'0f1817f50649df707f521dec9f2d5905e4c01939c8aabfa9a06b2ce0a36952ee'
'8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
'27c6b39f113f94a8c15eae63f8605e043332775c469ea072bf325773bb9ae553'
'1788c58ecedd61b380e0dd120844ed61e5fbbea0a58e84e6293685eb3384fddc'
'ddf83f2100885b166be52d21c8966db164fdd4e1d816aca2acc67ee9cc28d726'
'2dbd7d22fc9af0eb560ceab45b19646d211bc7b34a1dd00c6bfac5dd6ba25e8a'
'44e0bb322dc1f39a4b0a89f30ffdd28bc93f7d7aaf534d06d229fe56f6198194'
2019-03-21 23:32:31 +00:00
'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43')
2017-09-10 16:06:48 +00:00
package() {
install -d "$pkgdir/usr/lib/firmware/updates/brcm" "$pkgdir/usr/share/alsa/cards/"
install -m 0644 -- *.bin *.txt *.clm_blob *.hcd "${pkgdir}/usr/lib/firmware/updates/brcm"
install -m 0644 RPi-WM8804.conf "$pkgdir/usr/share/alsa/cards/"
2017-09-10 16:06:48 +00:00
}