1 # Contributor: Martin T. Sandsmark <martin.sandsmark@kde.org>
2 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
7 pkgdesc="Aki is a multi-panel IRC-client"
9 url="http://akiirc.org/"
12 depends=('kdelibs>=4.5' 'qt>=4.7')
13 makedepends=('git' 'automoc4')
20 _gitroot="git://anongit.kde.org/aki"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 mkdir "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
40 cmake "$srcdir/$_gitname" -DCMAKE_INSTALL_PREFIX=/usr || return 1
41 make VERBOSE=1 || return 1
44 cd "$srcdir/$_gitname-build"
45 make DESTDIR=$pkgdir install