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

_pkgname=remotely
pkgname=$_pkgname-git
pkgver=r8.8b5f629
pkgrel=1
pkgdesc="A GTK3 VNC Client"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/haecker-felix/Remotely"
license=('GPL3')
depends=('gtk3')
makedepends=('meson'
             'vala')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/haecker-felix/Remotely.git")
md5sums=('SKIP')

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

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

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