1 # Maintainer: George Brooke <george+arch.aur@george-brooke.co.uk>
2 # Contributor: laloch <laloch@atlas.cz>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Laurent Carlier <lordheavym@gmail.com>
6 pkgname=telepathy-kde-approver-git
9 pkgdesc="KDE Channel Approver for Telepathy."
10 arch=('i686' 'x86_64')
11 url="https://projects.kde.org/projects/kdereview/ktp-approver"
13 depends=('kdelibs' 'telepathy-qt4-git>=20111210-1')
14 makedepends=('cmake' 'automoc4' 'git')
15 conflicts=('telepathy-kde-approver'
16 'telepathy-approver-git')
18 _gitroot="git://anongit.kde.org/ktp-approver.git"
19 _gitname="ktp-approver"
24 msg "Connecting to the GIT server...."
26 if [[ -d ${srcdir}/$_gitname ]] ; then
29 msg "The local files are updated."
34 msg "GIT checkout done"
35 msg "Starting make..."
37 rm -rf ${srcdir}/build && mkdir ${srcdir}/build
41 -DCMAKE_INSTALL_PREFIX=/usr
49 make DESTDIR=${pkgdir} install