void-packages/srcpkgs/neatvnc/template

28 lines
774 B
Bash

# Template file for 'neatvnc'
pkgname=neatvnc
version=0.2.0
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=b8ab73f6137b9d8407639016de3ad98398f8e002c0eeef30b9fd034f82f9c799
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"
}
}