# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Piotr Halama <skrzynka@halamix2.pl>
pkgname=device-nokia-frt
pkgdesc="Nokia 1"
pkgver=0.1
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-nokia-frt mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="
	deviceinfo
	fb.modes
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
	devicepkg_package $startdir $pkgname
}


sha512sums="5fa4e2223990887054479f4552fdb848ef7fecdf7eb7bffdb28ff5e0b2f6d62e29b988e7b126141822cc1d806c4bb1b679239dfe2f1953b2a15df92555132ab1  deviceinfo
0a0237d639566cdd283182f17ea3f0fb8349c2fbc2c289eae418eac6837b9f2f4acf4a3c18c540d59c19dcbf30e12ac4e83c4f8303bbb4cd7e54b66c78ecfbcb  fb.modes"
