# Reference: <https://postmarketos.org/devicepkg>
maintainer="Natalia M. Sother <meli.soweli@icloud.com>"
pkgname=device-xiaomi-merlin
pkgdesc="Xiaomi Redmi Note 9"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	linux-xiaomi-merlin
	mkbootimg
	postmarketos-base
	msm-fb-refresher
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
aa71531deb63720b2c9f3d9ff232c4d39ade98be89f542f76deb02b146a16fbeb165a1a1c91ad3fa15a0ea581e12ef265915c6958fa8f682a0d709b0e38addee  deviceinfo
7c7142f4fbae4424d81db4b90225aac4c5cd29e1e6fc3a518d5371a7d3a0cda0b6c0ba42822e1c75afe7e9e88834e7c42ca75e2a05490a478dd133ac664ad029  kernel-cmdline.conf
"
