1 # Maintainer: Dan Serban (dserban01 => gmail)
2 # Contributor: Alexandre Gambini <chs_ale@msn.com>
7 pkgdesc="GUI frontend to reverse VNC connections"
9 url="http://code.google.com/p/gitso/"
11 depends=('iproute2' 'wxpython' 'x11vnc' 'tightvnc')
12 source=("http://gitso.googlecode.com/files/gitso_${pkgver}_linux_all.tar.gz")
13 md5sums=('095a89fa93a5af1fca4f02e6dda52631')
18 # Workarounds for two very annoying x11vnc quirks
19 sed -i "s/'-nopw','-ncache','20'/'-nopw','-noxrecord','-xkb'/" share/gitso/Processes.py
21 cp -r bin share $pkgdir/usr
22 chmod -R +r $pkgdir/usr
23 sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $pkgdir/usr/bin/gitso
24 sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py')