summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52fba3f1292b44984b92d41e62afb0528f691cd3 (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.4.6.r18.g346b6bc
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"
}