1 pkgname='quasselcore-git'
4 pkgdesc="A Qt4 IRC client with a separated core - core only"
5 url="http://quassel-irc.org"
9 makedepends=('git' 'cmake')
10 provides=('quasselcore')
12 source=('quasselcore.rcscript')
13 md5sums=('d4e8e925e435639df382e222016fcc36')
14 backup=('etc/rc.d/quasselcore')
16 _gitroot="git://git.quassel-irc.org/quassel.git"
22 msg "Connecting to the GIT server...."
23 if [ -d $_gitname ]; then
24 (cd $_gitname && git pull origin || return 1)
26 git clone $_gitroot || return 1
29 rm -rf ${_gitname}-build
30 cp -r $_gitname ${_gitname}-build
33 msg "Starting build process."
34 cmake -DCMAKE_INSTALL_PREFIX=/usr . -DWANT_CORE=ON -DWANT_MONO=OFF -DWANT_QTCLIENT=OFF -DWITH_DBUS=OFF -DWITH_OXYGEN=OFF -DWITH_PHONON=OFF -DWITH_WEBKIT=OFF || return 1
37 make DESTDIR=$startdir/pkg/ install
38 install -D $startdir/quasselcore.rcscript $pkgdir/etc/rc.d/quasselcore