# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-aries
pkgdesc="Xiaomi Mi 2"
pkgver=0.1
pkgrel=8
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-aries mkbootimg mdss-fb-init-hack"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}


sha512sums="
72f6bd6f39b8a2812bd2ef61183e9161fa2b6a503e14adb1ebf88f9a20250ef66ef1d1e8cf0ee8ba6fae6383f77c1d89f436dae55095a6e7f9bd09bfd65c3143  deviceinfo
73d199fdf7eccc2041ea8fabecc8b833d845791d5e7740b9d8e81e8fb917a0db55958f8c0d5499142a5726cf1ee40d6eb0ca16f7dc160276354d940b5abeeedc  initfs-hook.sh
"
