void-packages/srcpkgs/x2goserver/template

34 lines
1.1 KiB
Bash

# Template file for 'x2goserver'
pkgname=x2goserver
version=4.1.0.3
revision=2
build_style=gnu-makefile
make_install_args="SBINDIR=/usr/bin"
make_build_args="PREFIX=/usr"
hostmakedepends="pkg-config perl which"
makedepends="libssh2-devel"
depends="bash iproute2 openssh lsof xauth xhost xwininfo psmisc xkeyboard-config
perl-Config-Simple perl-DBI perl-Capture-Tiny perl-DBD-SQLite perl-File-BaseDir
perl-File-Which perl-Try-Tiny perl-Switch nx-libs"
short_desc="Open source graphical Remote Desktop based on NX technology"
maintainer="eoli3n <jonathan.kirszling@runbox.com>"
license="GPL-2.0-or-later"
homepage="http://www.x2go.org"
distfiles="http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6776aaa354f5a44e349f0b3c176d4988c88a618c2edf46c98a37ae89c069dcd0
system_groups="x2gouser"
system_accounts="x2gouser"
x2gouser_homedir="/var/lib/x2go"
conf_files="
/etc/x2go/desktopsharing/*
/etc/x2go/x2gosql/*
/etc/x2go/keystrokes.cfg
/etc/x2go/x2goagent.*
/etc/x2go/x2goserver.*
"
post_install() {
rm -rf "${DESTDIR}/etc/logcheck"
vsv x2gocleansessions
}