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

49 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=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sdm845
mkbootimg
postmarketos-base
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="
68993b554680e7cee7d79bb6eeead541ce05da2a2c25ab0c5e4747c1679e472cd4d02561ad7911c4ad18144aeb600db55483db6472ddf081691bf27c41eea461 deviceinfo
085809bd3525802faa63ce60206266853a688a40c9793b79faafc4c53c5d9d6f0f33a1695fb3a5c0c01f8bab9d7b7088ba7f2735ac27d5c72e2d258cce6ebba3 modules-initfs
"