summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ba979685bc06e5703d83258f131a3658d01a079 (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
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=remotely-git
pkgver=1.0.r10.g8792370
pkgrel=2
pkgdesc="simple VNC viewer for the GNOME desktop environment"
arch=(i686 x86_64 armv7h aarch64)
url="https://gitlab.gnome.org/World/Remotely"
license=(GPL3)
depends=(gtk-vnc)
makedepends=(git meson vala)
provides=(remotely)
conflicts=(remotely)
source=("git+https://gitlab.gnome.org/World/Remotely.git")
md5sums=('SKIP')

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

build() {
  arch-meson Remotely build
  ninja -C build
}

check() {
  meson test -C build --print-errorlogs
}

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