# Reference: pkgname=device-bq-piccolo pkgdesc="BQ Aquaris M5" pkgver=2 pkgrel=2 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8939 soc-qcom-msm8939" makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" depends="linux-firmware-qcom firmware-qcom-adreno-a420 firmware-bq-piccolo-venus firmware-bq-piccolo-wcnss" mkdir "$subpkgdir" } sha512sums=" 6ecdc0b09e2bf29f682878212a89ddd1085c959b8187452c240b24dcd6e7967f0d5aa06d7515dc7650a5dbf39b10bd3ed95de2ef4570830b91d4f0ab09bca183 deviceinfo "