summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32510335e5ef0129c805ceb5458792a8f2869b5a (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
41
# Maintainer: Stephen Brandt <stephen@stephenbrandt.com>

pkgname=haguichi-git
_pkgname=haguichi
pkgver=1.5.0.r0.gcd3f64a
pkgrel=1
pkgdesc="Provides a user friendly GUI to control the Hamachi client on Linux (development version)"
arch=(x86_64)
url="https://github.com/ztefn/haguichi"
license=(GPL-3.0-or-later)
depends=(
  gtk4
  libadwaita
  libgee
  libportal
  libportal-gtk4
  logmein-hamachi
)
makedepends=(
  git
  meson
  vala
)
conflicts=(haguichi)
provides=(haguichi)
source=("git+$url")
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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

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