summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 163682569ca1b00bac404cfa624e23698d5b07eb (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
40
# Maintainer: Jakob Schlanstedt <schlanstedtjakob@gmail.com>
# Contributor: Jakob Schlanstedt <schlanstedtjakob@gmail.com>
pkgname=japokwm-git
_pkgname=japokwm
url=https://github.com/werererer/japokwm
pkgver=v0.3.6
pkgrel=3
license=("BSD 2-Clause")
pkgdesc="A wlroots and dwl based tiling-windowmanager based around creating layouts"
depends=(
    "lua"
    )
makedepends=(
    "meson"
    "git"
    "wlroots"
    "wayland"
    "wayland-protocols"
    "libnotify"
    "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 configure -Dxwayland=true build
    meson compile -C build
}

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