# Reference: pkgname=device-lg-h815 pkgdesc="LG G4 (h815)" pkgver=1 pkgrel=3 url="https://postmarketos.org" license="MIT" arch="aarch64" depends=" mkbootimg postmarketos-base postmarketos-update-kernel postmarketos-config-nftables-openusb " makedepends="devicepkg-dev" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline " source="deviceinfo" options="!check !archcheck" build() { devicepkg_build $startdir $pkgname } kernel_downstream() { pkgdesc="Downstream kernel" depends="linux-lg-h815 msm-fb-refresher" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } kernel_mainline() { pkgdesc="mainline kernel" depends="linux-postmarketos-qcom-msm8994" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } package() { devicepkg_package $startdir $pkgname } sha512sums=" a8a9efb69e1c1b83e40145b36744e929d1aa811f2b5240be033160f2a31fdfb9c8adccf1224f768e58b0529b0c3683346769f26d61285d09172c7a2818d5a21d deviceinfo "