1 # Contributor: Nickolay Stepanenko <nixtrian at gmail dot com>
2 pkgname="mcabber-module-help-git"
5 pkgdesc="Modularization of mcabber's help system. "
6 url="http://wiki.mcabber.com/index.php/Modules"
9 depends=('mcabber>=0.10.0' 'mcabber-module-pep-git')
10 makedepends=("cmake" "git" "mcabber>=0.10.0")
12 _gitroot="http://isbear.unixzone.org.ua/source/mcabber-help"
13 _gitname="mcabber-help"
18 msg "Connecting to $_gitroot ..."
19 if [ -d $srcdir/$_gitname ] ; then
20 cd $_gitname && git pull
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
28 cp -rf $srcdir/$_gitname $srcdir/$_gitname-build
32 msg "Building $pkgname ..."
33 cd $srcdir/$_gitname-build
35 cmake -DMCABBER_INCLUDE_DIR=/usr/include/mcabber -DCMAKE_INSTALL_PREFIX=/usr .
37 DESTDIR=$pkgdir make install
39 rm -r $srcdir/$_gitname-build