From 8b688c81e4b733eff1fc753b10ca8a3bb5d964f1 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 28 May 2019 00:54:43 +0200 Subject: [PATCH] phosh/virtboard: new aport (!8) --- phosh/virtboard/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 phosh/virtboard/APKBUILD diff --git a/phosh/virtboard/APKBUILD b/phosh/virtboard/APKBUILD new file mode 100644 index 000000000..9cfd2fa27 --- /dev/null +++ b/phosh/virtboard/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=virtboard +pkgver=0.0.5_git20190325 +pkgrel=0 +_commit="0bab93edb997035e3f69ac408d72f5e4f6947a20" +pkgdesc="A basic keyboard, blazing the path of modern Wayland keyboards. Sacrificial." +arch="all" +url="https://source.puri.sm/Librem5/virtboard" +license="MIT" +depends="wayland-protocols" +makedepends="meson ninja libpng-dev wayland-dev libxkbcommon-dev cairo-dev linux-headers" +source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/$pkgname/-/archive/$_commit.tar.gz" +builddir="$srcdir/$pkgname-$_commit" + +build() { + cd "$builddir" + meson . _build --prefix=/usr + ninja -C _build +} + +check() { + cd "$builddir" + ninja -C _build test +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C _build install +} +sha512sums="382eb199591ca4dd227d8c4f2abf9d7d31c11d3ef499e56b220dd77423655d887f29d09e91f58369d60949b8f005f00df378391d28495844e616fb963eafbeb8 virtboard-0.0.5_git20190325.tar.gz"