4 pkgdesc='Image viewer for KDE'
8 depends=('kdebase4-lib-git' 'libkipi-git')
9 makedepends=('git' 'automoc4' 'cmake')
10 optdepends=('kipi-plugins-git: extra plugins to share photos')
11 conflicts=('kdegraphics-gwenview')
14 _gitroot="git://anongit.kde.org/gwenview.git"
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