# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Piotr Halama <skrzynka@halamix2.pl>
pkgname=device-nokia-frt
pkgdesc="Nokia 1"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-nokia-frt mkbootimg"
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="
61f8349f480315d06843d3a7e45846ac7ce2f5f05e1f07b57a619dc273f48d209fdbad3338f328e4d15e4c47d40b5660b0c2b7abf94c1b3140030e4465338ec8  deviceinfo
0a0237d639566cdd283182f17ea3f0fb8349c2fbc2c289eae418eac6837b9f2f4acf4a3c18c540d59c19dcbf30e12ac4e83c4f8303bbb4cd7e54b66c78ecfbcb  fb.modes
"
