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

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

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