1 pkgname=kolourpaint-git
4 pkgdesc='KolourPaint is an easy-to-use paint program'
8 depends=('kdebase4-runtime-git' 'qimageblitz')
9 makedepends=('git' 'automoc4' 'cmake')
10 conflicts=('kdegraphics-kolourpaint')
11 provides=('kdegraphics-kolourpaint')
14 _gitroot="git://anongit.kde.org/kolourpaint.git"
15 _gitname="kolourpaint"
21 msg "Connecting to the GIT server...."
23 if [[ -d $srcdir/$_gitname ]] ; then
26 msg "The local files are updated."
31 msg "GIT checkout done"
32 msg "Starting make..."
33 if [[ -d ${srcdir}/${_gitname}-build ]]; then
34 msg "Cleaning the previous build directory..."
35 rm -rf ${srcdir}/${_gitname}-build
37 mkdir $srcdir/$_gitname-build
38 cd $srcdir/$_gitname-build
39 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=Release \
40 -DCMAKE_INSTALL_PREFIX=/usr
45 cd ${srcdir}/$_gitname-build
46 make DESTDIR=${pkgdir} install