1 # Contributor: Oluf Lorenzen <fink.arch-packages@mafia-server.net
2 # original PKGBUILD: Nicolas Doualot <packages@slubman.info>
3 # vim:set ts=2 sw=2 et:
7 pkgdesc="A free NX server by google"
9 url="http://code.google.com/p/neatx/"
11 depends=('nxserver' 'python-pexpect' 'python-simplejson' 'gnu-netcat' 'pygobject')
12 makedepends=('docutils')
15 'xorg-xdm: if you want to use KDE or GNOME session'
16 'xterm: if you want console session'
19 _svntrunk=http://neatx.googlecode.com/svn/trunk/
22 install=neatx-svn.install
23 source=(constants.archlinux.patch)
29 if [ -d ${_svnmod}/.svn ]; then
30 (cd ${_svnmod} && svn revert -R .)
31 (cd ${_svnmod} && svn -r ${pkgver} up)
33 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
36 msg "SVN checkout done or server timeout"
37 cd ${srcdir}/${_svnmod} || return 1
39 patch -i "$srcdir/constants.archlinux.patch" -p2 || return 1
40 cd ${srcdir}/${_svnmod}/${_svnmod} || return 1
43 ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html.py
45 make DESTDIR="$pkgdir/" install
46 chmod 777 "$pkgdir/var/lib/neatx/sessions"
47 mkdir -p $pkgdir/usr/etc
48 cp -n ${srcdir}/${_svnmod}/${_svnmod}/doc/neatx.conf.example $pkgdir/usr/etc/neatx.conf
51 md5sums=('26bec5187a85d7859317d30128f139a3')
52 sha256sums=('a52ff9c7c61c3ed016d215ac6b7c7b64711c271216fe892289824b7127320baf')