1 # Contributor: Martin T. Sandsmark <martin.sandsmark@kde.org>
6 pkgdesc="AkiIrc is an IRC library, mainly used by the Aki IRC client."
8 url="http://akiirc.org/"
11 depends=('kdelibs>=4.3.80' 'qt>=4.6' 'kdebindings-python>=4.3.80')
19 _gitroot="git://gitorious.org/aki/akiirc.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 mkdir "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 cmake "$srcdir/$_gitname" -DCMAKE_BUILD_PREFIX=/usr || return 1
45 make VERBOSE=1 || return 1
46 make DESTDIR="$pkgdir/" install