1 # Maintainer: Shu <shu@shuu.ru>
2 pkgname="mcabber-module-jingle-git"
5 pkgdesc="This project aims to implement jingle for mcabber as a set of modules."
6 url="https://github.com/alkino/mcabber-jingle/"
10 makedepends=("cmake" "git" "mcabber-hg")
12 _gitroot="https://github.com/alkino/mcabber-jingle.git"
13 _gitname="mcabber-jingle"
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
30 msg "Building $pkgname ..."
31 cd $srcdir/$_gitname-build
33 cmake -DMCABBER_INCLUDE_DIR=/usr/include/mcabber -DCMAKE_INSTALL_PREFIX=/usr .
39 cd $srcdir/$_gitname-build
41 DESTDIR=$pkgdir make install
43 rm -r $srcdir/$_gitname-build
46 # vim:set ts=2 sw=2 et: