# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=squeekboard pkgver=1.2.2 pkgrel=0 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="https://source.puri.sm/Librem5/squeekboard/-/archive/v$pkgver/squeekboard-v$pkgver.tar.gz" subpackages="$pkgname-lang" options="!check" # broken with cross compiling builddir="$srcdir/$pkgname-v$pkgver" build() { meson . _build --prefix=/usr ninja -C _build } check() { xvfb-run ninja -C _build test } package() { DESTDIR="$pkgdir" ninja -C _build install } sha512sums="ba277962e0d851298438e29c9bd58b11db058e427ae91e6a5b80e2147bc3ee7c0bbc9a8424205df19d976cac82b3a6e625a373f680f0b5cf556f0e7698cfc0f7 squeekboard-v1.2.2.tar.gz"