# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-amazon-ford
pkgdesc="Amazon Fire 7 (2015)"
pkgver=0.1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-amazon-ford
	mkbootimg
	postmarketos-base
	msm-fb-refresher
"
makedepends="devicepkg-dev"
source="
	deviceinfo
	90-android-touch-dev.rules
"

build() {
	devicepkg_build $startdir $pkgname
}

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

sha512sums="
7c716707290d3589ae9d01b2e8c4e25fbce94499e2341601ee72520c17fa84e4ab21ce024647a30f6eebb55a6b0fea564a050a1d68287b5388779b9e28c28ef1  deviceinfo
f3d0b7d44f549100b3402fb287e80654279ae962a6b7721f3dc676324bdcf5c104391f9e4f3c5eac5733eff0ad467aa959a5f66553e7668c08124a1609ed3145  90-android-touch-dev.rules
"
