# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=squeekboard pkgver=0_git20191004 pkgrel=0 _commit="3bede84a2de3009bdf23cb4da031b03f298df946" pkgdesc="The final Phosh keyboard" arch="all" url="https://source.puri.sm/Librem5/squeekboard" license="GPL-3.0-or-later" makedepends="meson ninja rust cargo bash glib-dev wayland-protocols wayland-dev gtk+3.0-dev libcroco-dev" checkdepends="xvfb-run" source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/squeekboard/-/archive/$_commit.tar.gz" subpackages="$pkgname-lang" options="!check" # broken with cross compiling builddir="$srcdir/$pkgname-$_commit" build() { meson . _build --prefix=/usr ninja -C _build } check() { xvfb-run ninja -C _build test } package() { DESTDIR="$pkgdir" ninja -C _build install } sha512sums="97f53ddc13b00e6820cc67d250c145645642d5668ba68a82578099ed5a61f65fb1c19e99906e4f5ac61dce15d5512fc29b53dec593748332e5185833ba10fede squeekboard-0_git20191004.tar.gz"