Skip to content

Commit

Permalink
New package: x2goserver-4.1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eoli3n authored and Johnnynator committed May 10, 2021
1 parent 02a273c commit c113269
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions srcpkgs/x2goserver/template
@@ -0,0 +1,28 @@
# Template file for 'x2goserver'
pkgname=x2goserver
version=4.1.0.3
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config perl"
makedepends="libssh2-devel"
depends="perl perl-Config-Simple perl-DBI perl-Capture-Tiny perl-DBD-SQLite bash iproute2 makepasswd openssh lsof xauth perl-File-BaseDir nx-libs perl-File-Which"
short_desc="Open source graphical Remote Desktop based on NX technology"
maintainer="eoli3n <jkirsz@gmail.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"
x2gouser_shell="/bin/false"

post_extract() {
# Replace hard-coded /usr/sbin
for _file in x2goserver-printing/Makefile x2goserver/Makefile x2goserver-xsession/Makefile libx2go-server-db-perl/Makefile x2goserver-common/Makefile; do
vsed -e 's,/sbin,/bin,g' -i "$_file"
done
for _file in bin/x2golistdesktops bin/x2goresume-session bin/x2gostartagent sbin/x2gocleansessions; do
vsed -e 's,/usr/sbin,/usr/bin,g' -i x2goserver/"$_file"
done
}

0 comments on commit c113269

Please sign in to comment.