# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
pkgname=device-lenovo-yoga-c630
pkgdesc="Lenovo Yoga C630"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
# pmb:strict: avoid grub-related install error during build with pmbootstrap
options="!check !archcheck pmb:strict"
depends="postmarketos-base
	linux-postmarketos-qcom-sdm845
	systemd-boot
	firmware-lenovo-yoga-c630
	soc-qcom
"
makedepends="devicepkg-dev"
source="
	deviceinfo
	kernel-cmdline.conf
	modules-initfs
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
bdab0b1a9a50da967a244fe733ce21650911669a80b5885bdc6923fd77672d7d763b9969a262899f67430ae0ab49f3394811e45cc4e2bdeab6ee26aeb52b9880  deviceinfo
1a1a5cbd53fa37b89961b45ba091787c235dd144c69530f5b1b2daaa63ec84974f90936dee7de048086b39adf21d61b43deab1dec8f2b43d02731feb2afa4bb4  kernel-cmdline.conf
490dd21b7775cea13e9dde9cb7568ddd204230fc786dad04dadee9b82b15749317fcf9c89286b4f73e8eeadd4bf19b5451f46d744d23f226d94e5bbbbc1692c3  modules-initfs
"
