1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=kmobiletools-svn
6 pkgdesc="Make you mobile phone communicate with your PC"
7 url="http://kmobiletools.org"
10 depends=('kdebase-runtime' 'kdepimlibs' 'gammu')
11 makedepends=('cmake' 'automoc4' 'subversion' 'boost')
12 install=kmobiletools.install
16 _svntrunk=svn://websvn.kde.org/home/kde/trunk/playground/pim/kmobiletools/
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
34 -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
35 -DCMAKE_BUILD_TYPE=Release
41 make DESTDIR=$pkgdir install