# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-d285
pkgver=1
pkgrel=18
pkgdesc="LG L65"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-lg-d285 mkbootimg msm-fb-refresher"
makedepends="devicepkg-dev"
source="
	deviceinfo
	initfs-hook.sh
	90-android-touch-dev.rules
"
options="!check !archcheck"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}

sha512sums="
c8d8f897372d81864464f148f3965869230f9c147f8c2aef21b6dc857a554e06f5842a89d324bc71501f10ae6605e5c668a9a026e0f7d157a1c52148a61d1cb5  deviceinfo
f53bd829fc747c50116c948f45a2227cded050dc649a874e8e2af80d2d4632311694d8ad4b967658ac99150ae7857c849bdc3705cd56b422803bed25205f4365  initfs-hook.sh
568d407c3e96b45d740af8617f0e389d36a7091dceccae8f77288fdc45fb7a5ed418c28f31d7fe5a51d92337a40b2dd741b1b18ad02e3fbae91f9a2035d62c95  90-android-touch-dev.rules
"
