summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da79f1ac2ff26457d81e051ac6a3551f131fdd4b (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
# Maintainer: Jakob Schlanstedt <schlanstedtjakob@gmail.com>
pkgname=japokwm-git
_pkgname=japokwm
pkgver=r647.cea881d
pkgrel=1
license=("BSD 2-Clause")
pkgdesc="A wlroots and dwl based tiling-windowmanager based around creating layouts"
makedepends=(
    "meson"
    "wlroots"
    "lua"
    "wayland"
    "wayland-protocols"
    "scdoc"
        )

arch=("x86_64")
source=("${pkgname%-*}::git+https://github.com/werererer/japokwm")
sha512sums=('SKIP')

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

build() {
    arch-meson "$_pkgname" build
    meson compile -C build
}

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