1 # Maintainer: Figue <ffigue at gmail.com>
2 # Contributor: Figue <ffigue at gmail.com>
6 pkgdesc="Gate One is a web-based terminal emulator and SSH client with many unique and advanced features."
8 url="https://github.com/liftoff/GateOne"
10 depends=('python2' 'python2-kerberos' 'python2-pyopenssl' 'python2-tornado' 'dtach')
11 makedepends=('git' 'intltool')
12 install=gateone.install
13 source=('server.conf')
15 md5sums=('0b5e6875e5b85cffb8633054e6ee8410')
17 _gitroot="https://github.com/liftoff/GateOne.git"
22 msg "Connecting to GIT server...."
23 if [ -d $srcdir/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting build..."
34 python2.7 setup.py build
40 python2 setup.py install --root=$pkgdir/
42 # Patching for Python 2.7
43 cd $pkgdir/opt/gateone
44 sed -e 's/env python/env python2.7/g' -i gateone.py -i logviewer.py -i plugins/ssh/scripts/ssh_connect.py -i tests/test_terminal.py