1 # Contributor: Gerhard Brauer <gerbra@archlinux.de>
2 # Contributor: Richard Murri <admin@richardmurri.com>
7 pkgdesc="x2go server (single node edition)"
10 url="http://x2go.berlios.de"
11 depends=(x2goagent sqlite3 sshfs sudo)
12 install=x2goserver.install
14 source=(http://x2go.obviously-nice.de/deb/pool-lenny/x2goserver/x2goserver_${_dashes}.tar.gz
17 groups=('x2go' 'alts')
18 md5sums=('08f6f00b7043e998113443a57fbd091b'
19 '3f4304e2e85941480a7b8eb5496b61bd'
20 '4b7ffae496f4727c58237303af9edff1')
23 cd "$srcdir/x2goserver-${_dashes%-*}"
24 patch -Np0 < $srcdir/x2gostartagent.patch
26 install -Dm755 $srcdir/x2goserver.rc ${pkgdir}/etc/rc.d/x2goserver
28 install -Dm755 x2gocleansessions ${pkgdir}/usr/sbin/x2gocleansessions
29 install -Dm755 x2gocmdexitmessage ${pkgdir}/usr/bin/x2gocmdexitmessage
30 install -Dm755 x2gogetservers ${pkgdir}/usr/bin/x2gogetservers
31 install -Dm755 x2golistsessions ${pkgdir}/usr/bin/x2golistsessions
32 install -Dm755 x2golistsessions_root ${pkgdir}/usr/bin/x2golistsessions_root
33 install -Dm755 x2golistsessions_sql ${pkgdir}/usr/bin/x2golistsessions_sql
34 install -Dm755 x2gomountdirs ${pkgdir}/usr/bin/x2gomountdirs
35 install -Dm755 x2gopgwrapper ${pkgdir}/usr/bin/x2gopgwrapper
36 install -Dm755 x2gopgwrapper_sqlite ${pkgdir}/usr/bin/x2gopgwrapper_sqlite
37 install -Dm755 x2goresume-session ${pkgdir}/usr/bin/x2goresume-session
38 install -Dm755 x2goruncommand ${pkgdir}/usr/bin/x2goruncommand
39 install -Dm755 x2gosessionlimit ${pkgdir}/usr/bin/x2gosessionlimit
40 install -Dm755 x2goshowblocks ${pkgdir}/usr/bin/x2goshowblocks
41 install -Dm755 x2gostartagent ${pkgdir}/usr/bin/x2gostartagent
42 install -Dm755 x2gosuspend-agent ${pkgdir}/usr/bin/x2gosuspend-agent
43 install -Dm755 x2gosuspend-session ${pkgdir}/usr/bin/x2gosuspend-session
44 install -Dm755 x2goterminate ${pkgdir}/usr/bin/x2goterminate
45 install -Dm755 x2goterminate-session ${pkgdir}/usr/bin/x2goterminate-session
46 install -Dm755 x2goumount ${pkgdir}/usr/bin/x2goumount
47 install -Dm755 x2goumount_session ${pkgdir}/usr/bin/x2goumount_session
51 install -Dm755 sql ${pkgdir}/etc/x2go/sql
52 install -Dm755 x2gosqlite.sh ${pkgdir}/usr/lib/x2go/x2gosqlite.sh
53 sed -i 's/sqlite/sqlite3/g' ${pkgdir}/usr/lib/x2go/x2gosqlite.sh
54 sed -i 's/sqlite/sqlite3/g' ${pkgdir}/usr/bin/x2gopgwrapper_sqlite