-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02a273c
commit c113269
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |