aboutsummaryrefslogtreecommitdiffstats
path: root/community/squeekboard/APKBUILD
blob: 066da0dbe89b7b86d528ec5b94a3226b2165cedb (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.9.0
pkgrel=2
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=plain \
		. output
	ninja -C output
}

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

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