summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 24e493bfec02d1d3b161db15cf836d5b8e158bbc (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
# Maintainer: Giovanni Harting <539@idlegandalf.com>

pkgname=wljoywake
pkgver=0.3
pkgrel=1
pkgdesc='Wayland idle inhibit on joystick input'
arch=(x86_64)
url=https://github.com/nowrep/wljoywake
license=(GPL2)
depends=(wayland)
makedepends=(meson wayland-protocols)
source=("https://github.com/nowrep/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('3086de8b5e2d25dea9fc01e88297d4f4e67c14bd4b914e721cf3435197e6893a171d89acc8e4a90457b3100b968a8dc11f992d49bda2f17375a3049d39999529')

build() {
  arch-meson wljoywake-$pkgver build
  meson compile -C build
}

check() {
  meson test -C build
}

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

# vim: set ts=4 sw=4 tw=0 et :