maintainer="Ingo Reitz <9l@9lo.re>"
pkgname=soc-google-gs101
pkgver=1
pkgrel=0
pkgdesc="Common files for gs101"
url="https://postmarketos.org"
depends="postmarketos-mkinitfs devicepkg-utils devmem2"
source="20-devmem.files 00-enable-fb.sh"
arch="aarch64"
license="BSD-3-Clause"
options="!check !archcheck !tracedeps"

package() {
	install -Dm644 "$srcdir"/20-devmem.files \
		"$pkgdir"/usr/share/mkinitfs/files/20-devmem.files
	install -Dm644 "$srcdir"/00-enable-fb.sh \
	-t "$pkgdir"/usr/share/mkinitfs/hooks/
}

sha512sums="
3fbe0463aa08e7a1ed8141c2d1d84e0e2ced53dc9b0d3a06dbca4a302bf5d96bc1a2e5c9a9600efc19b57c178326f4f0194a8839bb50de3192d8f19cc92fb980  20-devmem.files
ef2dac68bf7402040a79e8e5fe6fd0639c931853ce8ebff1205e250dbdddcc61013786443dfc064e0a25ccb99d51b04e6770804b47fbdf127e6dfafe6b02af84  00-enable-fb.sh
"
