1 # Contributor: Flamelab <panosfilip@gmail.com>
2 # PKGBUILD based on libkmap-svn
7 pkgdesc='Libkgeomap is a wrapper around different world-map components, to browse and arrange photos over a map.'
10 url="http://www.digikam.org/"
11 depends=('kdelibs' 'kdeedu-marble')
12 makedepends=('git' 'cmake' 'automoc4')
16 _gitroot="git://anongit.kde.org/libkgeomap.git"
22 msg "Connecting to the GIT server...."
24 if [[ -d $srcdir/$_gitname ]] ; then
27 msg "The local files are updated."
32 msg "GIT checkout done"
33 msg "Starting make..."
34 if [[ -d ${srcdir}/${_gitname}-build ]]; then
35 msg "Cleaning the previous build directory..."
36 rm -rf ${srcdir}/${_gitname}-build
38 mkdir $srcdir/$_gitname-build
39 cd $srcdir/$_gitname-build
40 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=Release \
41 -DCMAKE_SKIP_RPATH=ON \
42 -DCMAKE_INSTALL_PREFIX=/usr
47 cd ${srcdir}/$_gitname-build
48 make DESTDIR=${pkgdir} install