Commit 27d18be8 authored by Manuel Tortosa's avatar Manuel Tortosa

Adding kmymoney-svn

parent 0450da1e
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=kmymoney-svn
pkgver=1130138
pkgrel=1
pkgdesc="A personal finance manager for KDE4"
depends=('kdelibs' 'ruby' 'gettext' )
makedepends=('subversion' 'cmake' 'automoc4')
url=('http://kmymoney2.sourceforge.net/index-home.html')
license="GPL"
arch=('i686' 'x86_64')
_tarballver=3.98.2
_createtarball=createtarball
_createtarballmod=createtarball
_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/createtarball
_svnmod=kmymoney
build()
{
cd ${srcdir}
if [ -d ${_createtarballmod}/.svn ]; then
(cd ${_createtarballmod} && svn revert -R .)
(cd ${_createtarball} && svn up)
else
svn co ${_svntrunk} --config-dir ./ ${_createtarballmod}
fi
cd ${_createtarballmod}
${srcdir}/${_createtarballmod}/create_tarball.rb -a kmymoney -n
msg "SVN checkout done or server timeout"
msg "Starting make..."
cd ${srcdir}/${_createtarballmod}/${_svnmod}-${_tarballver} || return 1
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment