4 pkgdesc='Libkexiv2 is a wrapper around Exiv2 library'
7 url="http://www.digikam.org/"
8 depends=('kdelibs' 'exiv2')
9 makedepends=('git' 'automoc4' 'cmake')
10 conflicts=('kdegraphics-libs' 'libkexiv2')
11 provides=('libkexiv2')
13 _gitroot="git://anongit.kde.org/libkexiv2.git"
20 msg "Connecting to the GIT server...."
22 if [[ -d $srcdir/$_gitname ]] ; then
25 msg "The local files are updated."
30 msg "GIT checkout done"
31 msg "Starting make..."
32 if [[ -d ${srcdir}/${_gitname}-build ]]; then
33 msg "Cleaning the previous build directory..."
34 rm -rf ${srcdir}/${_gitname}-build
36 mkdir $srcdir/$_gitname-build
37 cd $srcdir/$_gitname-build
38 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=Release \
39 -DCMAKE_INSTALL_PREFIX=/usr
44 cd ${srcdir}/$_gitname-build
45 make DESTDIR=${pkgdir} install