4 pkgdesc='Kartesio is a program that tries to calculate a fit curve for some points'
7 url="https://projects.kde.org/projects/playground/edu/kartesio"
8 depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'maxima')
9 makedepends=('git' 'cmake' 'automoc4')
11 _gitroot="git://anongit.kde.org/kartesio.git"
17 msg "Connecting to the GIT server...."
19 if [[ -d $srcdir/$_gitname ]] ; then
22 msg "The local files are updated."
27 msg "GIT checkout done"
28 msg "Starting make..."
29 if [[ -d ${srcdir}/${_gitname}-build ]]; then
30 msg "Cleaning the previous build directory..."
31 rm -rf ${srcdir}/${_gitname}-build
33 mkdir $srcdir/$_gitname-build
34 cd $srcdir/$_gitname-build
35 cmake $startdir/src/$_gitname/$_gitname -DCMAKE_BUILD_TYPE=Release \
36 -DCMAKE_INSTALL_PREFIX=/usr
41 cd ${srcdir}/$_gitname-build
42 make DESTDIR=${pkgdir} install