1 # Contributor: adriano <adriano.src@gmail.com>
6 pkgdesc="Simple IRC client in Qt4/C++."
8 url="http://nblast.org/wiki/fsirc"
11 makedepends=('cmake' 'git')
17 _gitroot="git://voker57.nonlogic.org/fsirc.git"
22 msg "Connecting to GIT server...."
24 if [ -d "$srcdir/$_gitname" ] ; then
25 cd $_gitname && git-pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 if [ -d "$srcdir/$_gitname-build" ] ; then
35 rm -rf "$srcdir/$_gitname-build"
38 cp -r "$srcdir/$_gitname" "$startdir/src/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
46 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
48 make DESTDIR=$startdir/pkg install || return 1