summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7db0d94bfc57717fb9f5f5e618198cd1fa1c8560 (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
32
33
34
35
36
37
38
39
# Maintainer: Sebastian Krzyszkowiak <dos@dosowisko.net>
# Contributor: Philip Goto <philip.goto@gmail.com>

pkgname=squeekboard-git
pkgver=r1660.40b3172
pkgrel=1
pkgdesc="Basic keyboard, blazing the path of modern Wayland keyboards"
url="https://source.puri.sm/Librem5/squeekboard"
license=("GPL3")
arch=(i686 x86_64 arm armv6h armv7h aarch64)
depends=('gtk3' 'wayland' 'gnome-desktop' 'feedbackd')
makedepends=(git
             pkg-config
             meson
             intltool
             rust
             gtk-doc)
provides=(squeekboard)
conflicts=(squeekboard)
source=("git+https://source.puri.sm/Librem5/squeekboard.git")
sha256sums=("SKIP")

pkgver() {
    cd squeekboard
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    arch-meson squeekboard build
    ninja -C build
}

check() {
    ninja -C build test
}

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