aboutsummaryrefslogtreecommitdiffstats
path: root/community/squeekboard/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-01 23:45:59 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 01:26:00 -0300
commit26c2105f0ac931d894ea102ca3e63908d81408e2 (patch)
tree492ae9d52271db37b5133ee5e41cbadc1465deaa /community/squeekboard/APKBUILD
parenta7822f599f69652d53ef104c825db42be2a44044 (diff)
downloadaports-26c2105f0ac931d894ea102ca3e63908d81408e2.tar.bz2
aports-26c2105f0ac931d894ea102ca3e63908d81408e2.tar.xz
community/squeekboard: move from testing
Diffstat (limited to 'community/squeekboard/APKBUILD')
-rw-r--r--community/squeekboard/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/squeekboard/APKBUILD b/community/squeekboard/APKBUILD
new file mode 100644
index 0000000000..a533ebb05d
--- /dev/null
+++ b/community/squeekboard/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=squeekboard
+pkgver=1.8.1
+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=plain \
+ . output
+ ninja -C output
+}
+
+check() {
+ xvfb-run ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+sha512sums="991112bc667da7fb197206872f8d6106ab763f04d539a11b58043adc5184b30c0554a9028696c08ad9e887e1e3e781b9d236ed74adb26490b47d4b728bac3eec squeekboard-v1.8.1.tar.gz"