aboutsummaryrefslogtreecommitdiffstats
path: root/testing/neatvnc/APKBUILD
blob: 0f5a7192da36621946fee58a8f78948a59bbd2fd (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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=neatvnc
pkgver=0.1.0
pkgrel=0
pkgdesc="A liberally licensed VNC server library with a clean interface"
url="https://github.com/any1/neatvnc"
arch="all"
license="ISC"
makedepends="meson pixman-dev libuv-dev libdrm-dev"
options="!check" # no test suite
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/any1/neatvnc/archive/v$pkgver.tar.gz"

build() {
	meson \
		--buildtype=plain \
		--prefix=/usr \
		--libdir=/usr/lib \
		build
	ninja -C build
}

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

sha512sums="e53f630d878dc9c66a123d07261ccdf3a46ece8c77096b1e3bca9633406bc7c22c11ab7b1e7bae19e5b75e4d131dde78c5c25deb012286ee115269f8f1694911  neatvnc-0.1.0.tar.gz"