# Reference: <https://postmarketos.org/devicepkg>
maintainer="Eray Tutmaz <tarkanttmz261@gmail.com>"
pkgname=device-xiaomi-fire
pkgdesc="Xiaomi Redmi 12"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	mkbootimg
	postmarketos-base
	linux-xiaomi-fire
	msm-fb-refresher
	postmarketos-base-downstream
	firmware-xiaomi-fire
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
9026b84b4556183bd1cf838b8b6511d24919dbe3924e301e353fd7fb88f2d55279d2b666dd80a9b828a0a38571b420ee2c58f90e1b2ff978224d487db61c8d38  deviceinfo
9f79746191f412768f5ea129a640a7c4c11b08e9d8f9c3e5aa10a56db321c1e97c457239fae4e9711509b4caa65d686f9fa8dbadaf528166b919245c9f110c59  kernel-cmdline.conf
"
