# Reference: https://postmarketos.org/uipkg
# Maintainer: Ferenc Bakonyi <bakonyi.ferenc@gmail.com>
pkgname=postmarketos-ui-fbkeyboard
pkgver=2
pkgrel=1
pkgdesc="Plain framebuffer console with touchscreen keyboard support"
url="https://github.com/bakonyiferenc/fbkeyboard"
arch="all"
license="GPL-3.0-or-later"
depends="
	dnsmasq
	fbkeyboard
	postmarketos-base-ui
	postmarketos-base-ui-networkmanager
	"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
source="fbkeyboard.init"
options="!check" # No tests

package() {
	install -Dm755 "$srcdir"/fbkeyboard.init "$pkgdir"/etc/init.d/fbkeyboard
}

sha512sums="
db617546a5d8de1307e3b45bd3dbf07b62f0b6f2cb25b486dd0c46533d21af0cd6e7c97ade3074f57d982922ad148344909096803df9faa56be00b348c53c8c5  fbkeyboard.init
"