# Maintainer: Affe Null <affenull2345@gmail.com>
pkgname=bananui-shell
pkgver=0.2.0
pkgrel=0
pkgdesc="Keypad controlled UI for feature phones (shell)"
url="https://git.abscue.de/obp/bananui/shell"
arch="all !s390x" # blocked by phoc
license="LGPL-3.0-or-later"
makedepends="
	bananui-dev
	callaudiod-dev
	eudev-dev
	feedbackd-dev
	gnome-desktop-dev
	gnome-menus-dev
	meson
	wayland-protocols
	"
depends="
	bananui-daemons
	bash
	phoc
	superd
	xwayland
	"
source="
	bananui-shell-v$pkgver.tar.gz::https://git.abscue.de/obp/bananui/shell/-/archive/v$pkgver/shell-v$pkgver.tar.gz
	"
options="!check" # no tests available
builddir="$srcdir/shell-v$pkgver"

build() {
	abuild-meson . output -Dsuperd=true
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir/" meson install --no-rebuild -C output
}

sha512sums="
99ab6e9057bc69f075f20173edac6288b6598477d0c66a088526cd12b48118715bb211cc15482969b9d5ef1122708c6a249a14fb9afbfb872ee6663e13f1d80c  bananui-shell-v0.2.0.tar.gz
"
