Skip to content

Commit 070372a

Browse files
committed
New package: x2goserver-4.1.0.3
1 parent 22679a1 commit 070372a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

srcpkgs/x2goserver/template

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Template file for 'x2goserver'
2+
pkgname=x2goserver
3+
version=4.1.0.3
4+
revision=1
5+
build_style=gnu-makefile
6+
hostmakedepends="pkg-config perl"
7+
makedepends="libssh2-devel"
8+
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"
9+
short_desc="Open source graphical Remote Desktop based on NX technology"
10+
maintainer="eoli3n <jkirsz@gmail.com>"
11+
license="GPL-2.0-or-later"
12+
homepage="http://www.x2go.org"
13+
distfiles="http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${version}.tar.gz"
14+
checksum=6776aaa354f5a44e349f0b3c176d4988c88a618c2edf46c98a37ae89c069dcd0
15+
system_groups="x2gouser"
16+
system_accounts="x2gouser"
17+
x2gouser_homedir="/var/lib/x2go"
18+
x2gouser_shell="/bin/false"
19+
20+
post_extract() {
21+
# Replace hard-coded /usr/sbin
22+
for _file in x2goserver-printing/Makefile x2goserver/Makefile x2goserver-xsession/Makefile libx2go-server-db-perl/Makefile x2goserver-common/Makefile; do
23+
vsed -e 's,/sbin,/bin,g' -i "$_file"
24+
done
25+
for _file in bin/x2golistdesktops bin/x2goresume-session bin/x2gostartagent sbin/x2gocleansessions; do
26+
vsed -e 's,/usr/sbin,/usr/bin,g' -i x2goserver/"$_file"
27+
done
28+
}

0 commit comments

Comments
 (0)