# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-cancro
pkgdesc="Mi 3"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-cancro mkbootimg msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
d46b04f7e68743ba158f81bd0cf009d4d35f008deabdae01b1033b70be497a3e76f09a76129725d99dcb81159344d6dc35cd8143132adf4f1ba18cbd23c4f39e  deviceinfo
77582c9ddd3bc5b537b865304329dcf89aaacc75b57b595704ba6a980c18df54648d82d00467f640764cd5b11bb9e85532f3da0b1a532d31ccd2b7ea941d35b3  kernel-cmdline.conf
"
