# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-motorola-lux"
pkgdesc="Motorola Moto X Play"
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-lux mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="f58d2ee1acfcd8188872f016595893e2492b75c55aadc0711cc28398ab6715769b43485eb8a293f6d1d024b0b743c9f34a18bd27a7e4f81511c993420c4105f3  deviceinfo
1777c382a73b6e45ee6b4f34b1fd996ad1bae42801dec6de6742f9bf6bf0a0fb5648a7b51ac5b79b7df6d026deca3d4b14a13fae02938e845ed564a9a741c171  initfs-hook.sh"
