1 # Contributor: skunktrader <gdarke at skunktrading dot com>
5 replaces=('kmymoney-svn')
8 pkgdesc="A personal finance manager for KDE4."
9 depends=('kdelibs' 'kdebase-runtime' 'kdepimlibs' 'boost' 'libalkimia')
10 makedepends=('git' 'cmake' 'automoc4' 'gettext')
11 optdepends=('libofx: support for OFX import')
12 url=('http://kmymoney2.sourceforge.net/index-home.html')
14 arch=('i686' 'x86_64')
16 _gitroot="git://anongit.kde.org/kmymoney"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone --depth=1 $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/build"
34 mkdir -p "$srcdir/build"
37 cmake ../${_gitname} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=DebugFull
43 make DESTDIR="$pkgdir/" install