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 X compression client library"
10 arch=('i686' 'x86_64')
11 url="http://freenx.berlios.de/"
14 depends=('dbus-core' 'libx11')
15 makedepends=('subversion' 'autoconf' 'automake' 'libtool')
22 source=('gcc43.patch')
25 _svntag=svn://svn.berlios.de/freenx/tags/freenx-client_freenx-client-0.9/nxcl
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"
44 patch -Np0 -i "$srcdir/gcc43.patch" || return 1
51 libtoolize || return 1
52 autoheader || return 1
53 automake --add-missing || return 1
54 ./configure --prefix=/usr --without-doxygen
56 make DESTDIR="$pkgdir/" install || return 1
58 rm -fv "$pkgdir/usr/bin/"{libtest,notQttest}
60 md5sums=('b240ddbd54fd2b9adcbca95117b9bbce')