pmaports/device/testing/device-thundercomm-db845c/APKBUILD

50 lines
1.1 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Caleb Connolly <caleb@connolly.tech>
pkgname=device-thundercomm-db845c
pkgdesc="Thundercomm Dragonboard 845c"
pkgver=1
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sdm845
mkbootimg
postmarketos-base
postmarketos-update-kernel
soc-qcom-sdm845
soc-qcom-sdm845-ucm
soc-qcom-sdm845-qbootctl
fwupd>=1.8.6
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Modem, GPU and WiFi Firmware"
depends="linux-firmware-qcom soc-qcom-sdm845-nonfree-firmware"
mkdir "$subpkgdir"
}
sha512sums="
b860a003be9ba773ce2fd45dcbf151ae54ebf0d6fa6c7c05dde0d4f5a30454661bc16c29fdfed41d2d3b6c4e7f148fd8ec6c6509e5331a21c04c667fec91a8f0 deviceinfo
085809bd3525802faa63ce60206266853a688a40c9793b79faafc4c53c5d9d6f0f33a1695fb3a5c0c01f8bab9d7b7088ba7f2735ac27d5c72e2d258cce6ebba3 modules-initfs
"