mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
27 lines
825 B
Bash
27 lines
825 B
Bash
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
|
||
|
buildarch=8
|
||
|
|
||
|
pkgname=firmware-dragonboard
|
||
|
pkgver=1.4.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Additional firmware for Dragonboard 410c"
|
||
|
arch=('aarch64')
|
||
|
url="https://archlinuxarm.org"
|
||
|
license=('custom')
|
||
|
makedepends=('bc')
|
||
|
options=('!strip')
|
||
|
source=("https://developer.qualcomm.com/download/db410c/firmware-410c-${pkgver}.bin")
|
||
|
sha256sums=('822d2f8506d9657dbce6aa2bfce81ccbf97dcfc40831b70703b14b3f296fa4c0')
|
||
|
|
||
|
prepare() {
|
||
|
sh firmware-410c-${pkgver}.bin --auto-accept
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
install -d "${pkgdir}/usr/lib/firmware"
|
||
|
cp -a linux-board-support-package-v${pkgver%.0}/proprietary-linux/* "${pkgdir}/usr/lib/firmware"
|
||
|
rm "${pkgdir}/usr/lib/firmware/firmware.tar"
|
||
|
install -D -m644 linux-board-support-package-v${pkgver%.0}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||
|
}
|