pkgname=postmarketos-ui-matchbox
pkgver=1
pkgrel=3
pkgdesc="(X11) Very basic user interface for handhelds"
url="https://matchbox-project.org"
arch="noarch"
license="GPL-2.0-only"
depends="matchbox-common matchbox-panel matchbox-desktop matchbox-keyboard matchbox-window-manager xterm xorg-server dbus-x11 mesa-egl gtk+2.0"
install="$pkgname.post-install"
source="start_matchbox.sh"
options="!check"

package() {
	# Autostart via autologin on TTY0 (until we have a display manager #656)
	install -D -m644 "$srcdir"/start_matchbox.sh \
		"$pkgdir"/etc/profile.d/start_matchbox.sh
}

sha512sums="c974333da4a4a829969df87edd737e8e1fca78ad9f9b38df10c9031317c4b06dcdf7666b31d39ca2e3ef1a8ac7b4bacdfda2d3e0fed57523489065cd7e5c9bb9  start_matchbox.sh"
