# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-p1m
pkgdesc="Lenovo Vibe P1m"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-lenovo-p1m mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
6ab33fcb820b55e4008eb3b92a066e8ca52f4cae03dac3ff3ae76e296a959e0e99181a354260bba279cff5dde4e71ed1c716a76a1be634f4522ecc07a171c6a2  deviceinfo
d89b08ef9888faae6cb96a378421669e6119023307a3b5a109e18b7f9e2c70e1f8b240ba8f9b9d22d319fa28e416565d06074d34382f482c9b037b7ab3f4861c  kernel-cmdline.conf
"
