# Reference: pkgname=device-fairphone-fp3 pkgdesc="Fairphone 3" pkgver=0.1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" mesa-dri-gallium msm-fb-refresher mkbootimg postmarketos-base " makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_downstream() { pkgdesc="Downstream kernel (recommended)" depends="linux-fairphone-fp3" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } nonfree_firmware() { pkgdesc="Firmware for WiFi, Audio, etc." depends="firmware-fairphone-fp3-wcnss" mkdir "$subpkgdir" } sha512sums=" 4b6858d52ca52841806c4853916919037a8add860446bdb5c0bccdf9a244ab63b8e0ddbdd456ee124e284dd99bc3d0caabc7543c73b9032da59dd2c747bafaad deviceinfo "