# Reference: pkgname=device-lg-bullhead pkgdesc="Google Nexus 5X" pkgver=3 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" depends=" mesa-dri-gallium mkbootimg msm-fb-refresher postmarketos-base postmarketos-update-kernel " makedepends="devicepkg-dev" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline $pkgname-nonfree-firmware:nonfree_firmware " source="deviceinfo" options="!check !archcheck" build() { devicepkg_build $startdir $pkgname } kernel_downstream() { pkgdesc="Downstream kernel" depends="linux-lg-bullhead" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } kernel_mainline() { pkgdesc="Close to mainline kernel (only basic hardware support)" depends="linux-postmarketos-qcom-msm8994" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } nonfree_firmware() { pkgdesc="Proprietary WiFi, Modem, GPU and sensors firmware" depends="firmware-lg-bullhead" mkdir "$subpkgdir" } package() { devicepkg_package $startdir $pkgname } sha512sums=" 3dc9e1c5de8e3ab886d2a7233613051e0f67adc487620a66ddfcf369e25b1682a8f98c7a12c4e34198a87f2ca71786398f997880eafecd8c3ebf0f012eb1667b deviceinfo "