# Reference: pkgname=device-asus-x00td pkgdesc="Asus ZenFone Max Pro M1" pkgver=0.3 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg" makedepends="devicepkg-dev" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline " source="deviceinfo" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_downstream() { pkgdesc="LineageOS downstream kernel (recommended)" depends="linux-asus-x00td mesa-dri-gallium msm-fb-refresher" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } kernel_mainline() { pkgdesc="Close to mainline; for kernel development only (most features aren't working)" depends="linux-postmarketos-qcom-sdm660 mesa-dri-gallium" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } sha512sums=" f734bdb9de184c84a978d61493a9fc0fb9e569b3a023a008bf48ac931cf5ac19c8411013d969b9b6a9c7421d477ebc8c78951763ac5726df819d3969dd8c359e deviceinfo "