# Reference: pkgname="device-google-crosshatch" pkgdesc="Google Pixel 3 XL" pkgver=0.1 pkgrel=2 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="67bfa71f40a1fc761a7fc18d208d05d6da23f9cc7ff0b05c23cc9cb1dbc2be68a6cb77fedfc39938eaf2c41f8cbe9095c7f38ff587d9828d80a4c958d27dfd9a deviceinfo"