# Reference: pkgname=device-xiaomi-platina pkgdesc="Xiaomi Mi 8 Lite" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="mkbootimg postmarketos-base" makedepends="devicepkg-dev" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline " source="deviceinfo modules-initfs" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_downstream() { pkgdesc="LineageOS downstream kernel (recommended)" depends="linux-xiaomi-platina msm-fb-refresher" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } kernel_mainline() { pkgdesc="For kernel development only (most features aren't working)" depends="linux-postmarketos-qcom-sdm660" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } sha512sums=" 99f3b09882a9b8181e5e5c4163315148a15f75355e2a0c36f4b981554202b8fabf74ef270b35d9df0550c0d0ee172895c6c0921d5598e502d0de5a16ffbd2dcc deviceinfo 029156e04ee0f9e20cf37d6fd0f52278ecc6a029b9ca86845a5e9a7b550ed1211b62f09e5ed36083061269d4e83b648788b87bbde0fba3cd1eb68675c47b79eb modules-initfs "