# Reference: pkgname=device-asus-x00td pkgdesc="Asus ZenFone Max Pro M1" pkgver=0.5 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 $pkgname-nonfree-firmware:nonfree_firmware " source="deviceinfo" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_downstream() { pkgdesc="LineageOS downstream kernel (recommended)" depends="linux-asus-x00td 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" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } nonfree_firmware() { pkgdesc="Wifi, Bluetooth, GPU, Modem, ADSP, Venus firmware" depends="firmware-asus-x00td" mkdir "$subpkgdir" } sha512sums=" af08bb13607d21483e3c87ab392a741dfc362e536afd9d6cc5b63863852fab1bf8058e7329b5308fa969b3ebfec10b4d8d760010e59e10e3a308c88fd88a2d0e deviceinfo "