summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e70f0497dff3901ed66c5b90e21cebf5ca0302e (plain)
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
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=virtboard
pkgver=0.0.6
pkgrel=1
pkgdesc="Basic keyboard, blazing the path of modern Wayland keyboards"
url="https://source.puri.sm/Librem5/virtboard"
license=("GPL3")
arch=(i686 x86_64 armv6h armv7h)
depends=(wayland
         libxkbcommon
         cairo)
makedepends=(git
             pkg-config
             meson)
source=("https://source.puri.sm/Librem5/virtboard/-/archive/v${pkgver}/virtboard-v${pkgver}.tar.gz")
sha256sums=('0844d00b0cda6080d6a2c5b8e047ddf087c5f5f267a628d154033c7844b41181')

build() {
    rm -rf build
    arch-meson "virtboard-v${pkgver}" build
    ninja -C build
}

check() {
    ninja -C build test
}

package() {
    DESTDIR="${pkgdir}" ninja -C build install
}