3 # Contributor: imagelife <lovelinux229@gmail.com>
7 pkgdesc="gtalk in linux base on libjingle."
9 url="http://code.google.com/p/talkmm/"
11 depends=('gtkmm' 'libsexymm' 'libglademm' 'ilbc' 'speex' 'linphone')
12 makedepends=('subversion')
18 _svntrunk=http://talkmm.googlecode.com/svn/trunk/
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
41 cd "$srcdir/$_svnmod-build/libjingle"
46 cd "$srcdir/$_svnmod-build/talkmm"
47 ln -fs "$srcdir/$_svnmod-build/libjingle/talk" "$srcdir/$_svnmod-build/talkmm/src" || return 1
49 ./configure --prefix=/usr
51 make DESTDIR="$pkgdir/" install