2 # See http://wiki.archlinux.org/index.php/Arch_CVS_&_SVN_PKGBUILD_guidelines
3 # for more information on packaging from SVN sources.
5 # Contributor: Denis Martinez <deuns.martinez AT gmail DOT com>
9 pkgdesc="NX client for Qt"
10 arch=('i686' 'x86_64')
11 url="http://freenx.berlios.de/"
15 makedepends=('subversion')
25 _svntag=svn://svn.berlios.de/freenx/tags/freenx-client_freenx-client-0.9/qtnx
31 if [ -d $_svnmod/.svn ]; then
32 (cd $_svnmod && svn up)
34 svn co $_svntag --config-dir ./ $_svnmod
37 msg "SVN checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_svnmod-build"
41 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
42 cd "$srcdir/$_svnmod-build"
47 qmake qtnx.pro || return 1
49 install -D -m 755 qtnx "$pkgdir/usr/bin/qtnx" || return 1
50 install -D -m 755 "$srcdir/qtnx.desktop" "$pkgdir/usr/share/applications/qtnx.desktop"
52 md5sums=('beb9e4acc6f552af76494b32ccc4e959')