# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-infocus-flatfish"
pkgdesc="InFocus New Tab F1"
pkgver=0.1
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="noarch"
options="!check"
depends="postmarketos-base linux-infocus-flatfish mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="
	deviceinfo
	fb.modes
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname

	install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
}

sha512sums="219e75dfb9f28761258f623a0587163fbcff884a594d495362ad25ae4fccc11d2a9a7ac98e2e9b547b8b63f9ef844bcb290a2b09ad80218c2ca905d872570a83  deviceinfo
2961df06a303e28139f67ae8abc99d0ddc48d2aa4c1d67a51e924493a27b46fff7e6072ddfd4273bdfa6b489598cbfda65400c3afdfaf16fce7fc407d19284f0  fb.modes"
