pmaports/device/testing/device-lg-h815/APKBUILD
Pablo Correa Gómez 9ca0b50688
device/*: rebuild all devices with kernel subpackages (MR 4596)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-12-07 09:03:22 +01:00

45 lines
1 KiB
Text

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