summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb8fb7f62f3a32cfe81d3854b4f545861e921002 (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
pkgname=$_pkgname-git
pkgver=1.0.r10.g8792370
pkgrel=1
pkgdesc="A GTK3 VNC Client"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://gitlab.gnome.org/haecker-felix/Remotely"
license=('GPL3')
depends=('gtk-vnc')
makedepends=('git'
             'meson'
             'vala')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://gitlab.gnome.org/haecker-felix/Remotely.git")
md5sums=('SKIP')

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

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

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