summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b0d47b9f730ad2653f66c699c54708b3eb749d1 (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
# Maintainer: Spencer Muise <smuise@spencermuise.ca>
pkgname=remontoire-git
_name=remontoire
pkgver=r38.c47ccbe
pkgrel=2
pkgdesc="A keybinding viewer for i3 and other programs."
arch=('any')
url="https://github.com/regolith-linux/remontoire"
license=('GPL3')
makedepends=(
  'git'
  'meson'
  'vala'
)
depends=(
  'json-glib'
  'gtk3'
  'libgee'
)
source=("git+https://github.com/regolith-linux/$_name.git")
md5sums=('SKIP')

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


build() {
  meson --prefix /usr --buildtype=plain $_name build
  ninja -C build
}

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