PKGBUILDs/alarm/firmware-raspberrypi/PKGBUILD
2019-07-17 18:20:20 +00:00

34 lines
1.7 KiB
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=28
pkgname=firmware-raspberrypi
pkgver=6
pkgrel=1
pkgdesc="Additional firmware for Raspberry Pi"
arch=('any')
url="https://archlinuxarm.org"
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'
'RPi-WM8804.conf')
sha256sums=('996b7ef7cbdb8ea3855fa516acb57630ff03a449fd3bb23e84789f2f04b4faf5'
'e4ce7ad5ce72406f958ed758539b65d958d1c0eb3e46e3f8e9f02b510d88e0b0'
'8dd70b9003d39cb6175b4f3cd509666dad66ad23d3be1a68385817fb814c8930'
'0f1817f50649df707f521dec9f2d5905e4c01939c8aabfa9a06b2ce0a36952ee'
'8e2250518bc789e53109728c3c0a6124bc3801a75a1cb4966125753cf1f0252e'
'27c6b39f113f94a8c15eae63f8605e043332775c469ea072bf325773bb9ae553'
'1788c58ecedd61b380e0dd120844ed61e5fbbea0a58e84e6293685eb3384fddc'
'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43')
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/"
}