# Archived: Downstream port, only for reference.
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-cepheus-downstream
pkgdesc="Xiaomi Mi 9"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	linux-xiaomi-cepheus-downstream
	mkbootimg
	postmarketos-base
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
32fdb2bf37ed6db9c03b61f00206e12ec379d4651357f5bcb832d62f6e8c225928c88ae46fefc713ef75b0b703357bca242eb5b60012c342d6ed6182c0f60fdb  deviceinfo
61399aacd0af41b700b9582cbcd487ff46afb7af8422a9046b28376587a61c3a3956f68cef6b6fb82e0e669c2298e80669f595ea7688e101edbcc824b93e1eab  kernel-cmdline.conf
"
