# Archived: Downstream port, only for testing. Use mainline port!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-platina-downstream
pkgdesc="Xiaomi Mi 8 Lite (Downstream)"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	linux-xiaomi-platina-downstream
	mkbootimg
	msm-fb-refresher
	postmarketos-base
	"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
e845d27f237687961c869eb1857223a2e3f9e2b56431b8dfde96769d1458217342958ec43fe1955aa3efbd08344a53e09e551e5910af87cb7e0c463086d89dd6  deviceinfo
3144e8f89c8c5187d0036d405a3f42c723399df513e8a36d30f3678c46066cfabc6e3ff906ab140e0a3a2c15b2b61151de21e0c066ebe0dc69459c999598acdb  kernel-cmdline.conf
"
