1 # Maintainer: Federico Chiacchiaretta <federico.chia at gmail.com>
3 pkgname=liblikeback-git
6 pkgdesc="A tool to collect user feedback"
8 url="https://projects.kde.org/projects/playground/libs/liblikeback/repository"
11 makedepends=('cmake' 'automoc4' 'git')
13 _gitroot="git://anongit.kde.org/liblikeback"
14 _gitname="liblikeback-git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf ${srcdir}/build
34 cmake -DCMAKE_INSTALL_PREFIX="/usr" ${srcdir}/$_gitname
41 make DESTDIR=${pkgdir} install
44 # vim:set ts=2 sw=2 et: