pmaports/device/testing/device-lg-h815/APKBUILD

45 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-h815
pkgdesc="LG G4 (h815)"
pkgver=1
pkgrel=0
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="
d6a58332001e4825c81c474efc813ea50491ece45332caf4ae8687e95f3824f16aa0b841845390ed69ea9511c5a035798dd86dd0297e0f782d85744025aaffa0 deviceinfo
"