aboutsummaryrefslogtreecommitdiffstats
path: root/testing/squeekboard/APKBUILD
blob: 38500d80e17e8ae1d261a24bdf9f82d703f0d140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=squeekboard
pkgver=1.8.0
pkgrel=0
pkgdesc="The final Phosh keyboard"
arch="all !s390x !ppc64le" # Blocked by rust, fails to build on ppc64le
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 gnome-desktop-dev"
checkdepends="xvfb-run"
source="https://source.puri.sm/Librem5/squeekboard/-/archive/v$pkgver/squeekboard-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	xvfb-run ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="d112b9828b899644576fd718c067aae608b60d7e882cdefea0523250ce0d0a38303b1f1e8e421220db7fd3b4e5285a9c37e56f596715dde2f71b4063b2f24f4b  squeekboard-v1.8.0.tar.gz"