updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / kopete-xfire-svn / PKGBUILD
blobcbf3e6dac284a7440d3439ecf84e39a9ac2e74a4
1 # Contributor: Toren Correnos <correnos@gmail.com>
3 pkgname=kopete-xfire-svn
4 pkgver=74
5 pkgrel=1
6 pkgdesc="Xfire protocol support for Kopete - svn version"
7 url="http://code.google.com/p/kopete-xfire"
8 license=('GPL')
9 arch=('any')
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/'
16 _svnmod='kopete'
18 build() {
19   cd "$srcdir"
21   if [ -d $_svnmod/.svn ]; then
22     (cd $_svnmod && svn up)
23   else
24     svn co $_svntrunk --config-dir ./ $_svnmod
25   fi
27   msg2 "SVN checkout done or server timeout"
28   
29   mkdir $_svnmod/trunk/build
30   cd $_svnmod/trunk/build
31   cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || return 1
32   make || return 1
35 package() {
36   cd "$srcdir/$_svnmod/trunk/build"
37   make DESTDIR="$pkgdir" install