# Reference: pkgname="device-google-crosshatch" pkgdesc="Google Pixel 3 XL" pkgver=0.1 pkgrel=3 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg mesa-dri-swrast" makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_downstream() { pkgdesc="LineageOS downstream kernel (recommended)" depends="linux-google-crosshatch" mkdir "$subpkgdir" } kernel_mainline() { pkgdesc="Attempt at mainlining. DO NOT USE: doesn't work (only USB networking is supported)" depends="linux-google-crosshatch-mainline firmware-google-crosshatch-mainline-dtbo" mkdir "$subpkgdir" } sha512sums="0d275efe4d79d2a9fecbfa1d4ebe7da3647bdca607c7b20171082a4c832df9c76112749ada36895c13902acbea2ddeacf95279755a1d072998a387c898499e5b deviceinfo"