1 # Contributor: Toren Correnos <correnos@gmail.com>
3 pkgname=kopete-xfire-svn
6 pkgdesc="Xfire protocol support for Kopete - svn version"
7 url="http://code.google.com/p/kopete-xfire"
10 depends=('kdenetwork-kopete')
11 makedepends=('subversion' 'cmake' 'automoc4')
12 provides=('kopete-xfire')
13 conflicts=('kopete-xfire')
15 _svntrunk='http://kopete-xfire.googlecode.com/svn/'
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up)
24 svn co $_svntrunk --config-dir ./ $_svnmod
27 msg2 "SVN checkout done or server timeout"
29 mkdir $_svnmod/trunk/build
30 cd $_svnmod/trunk/build
31 cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || return 1
36 cd "$srcdir/$_svnmod/trunk/build"
37 make DESTDIR="$pkgdir" install