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

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}


sha512sums="b87ad5f86e4e1411dc98e5362d1ad03bfd7cce702317ce74cc8e13b873de8af579d5873e7266d83584a3746bde19514c1c91f38e666ccdb884b6823f689cedfc  deviceinfo
73d199fdf7eccc2041ea8fabecc8b833d845791d5e7740b9d8e81e8fb917a0db55958f8c0d5499142a5726cf1ee40d6eb0ca16f7dc160276354d940b5abeeedc  initfs-hook.sh"
