1 # Contributor: Alexander Potashev <aspotashev@gmail.com>
2 pkgname=libkvkontakte-git
5 pkgdesc="Library implementing VKontakte.ru API"
7 url="https://projects.kde.org/projects/extragear/libs/libkvkontakte"
9 depends=('kdelibs>=4.0.0' 'qjson')
10 makedepends=('pkgconfig' 'automoc4' 'git' 'cmake')
11 conflicts=('libkvkontakte')
12 _gitname="libkvkontakte"
13 _gitroot="git://anongit.kde.org/${_gitname}"
17 msg "Connecting to KDE git server..."
18 if [ -d ${srcdir}/${_gitname} ] ; then
19 cd ${_gitname} && git pull origin
20 msg "The local files are updated."
23 msg "Repo clone finished"
27 -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
32 cd ${srcdir}/${_gitname}
33 make DESTDIR=${pkgdir} install