# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
pkgname=device-nokia-n9
pkgver=3
pkgrel=0
pkgdesc="Nokia N9"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"
makedepends="devicepkg-dev"
source="
	deviceinfo
	initfs-hook.sh
"
options="!check !archcheck"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="Wifi firmware"
	depends="linux-firmware"
	mkdir "$subpkgdir"
}

sha512sums="
18c0df5fdc5aed881d26f0d9223d228f078b0ef6dfab66c26675abe317f8550cb916e22f95d74a1fbcd13c56b9303487ba9d85b88a62d1fde4d3e901f751cc2f  deviceinfo
194b135573da8c894b079bc00cf560e318a62d71ed3dd63f219f0f80d0f882b7d41e988c9c0945319a665e0f217c8eb5ff5353acafe25fa755a84e9e8de3df4b  initfs-hook.sh
"
