void-packages/srcpkgs/neatvnc/template

28 lines
774 B
Bash

# Template file for 'neatvnc'
pkgname=neatvnc
version=0.5.1
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="aml-devel libdrm-devel pixman-devel zlib-devel gnutls-devel libjpeg-turbo-devel"
short_desc="Liberally licensed VNC server library"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="ISC"
homepage="https://github.com/any1/neatvnc"
distfiles="https://github.com/any1/neatvnc/archive/v${version}.tar.gz"
checksum=63c4786eefe6f3bd72f89592798e31721235fc959de6ba3a5ac7834a555dad1d
post_install() {
vlicense COPYING
}
neatvnc-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}