1 # Contributor: Nickolay Stepanenko <nixtrian at gmail dot com>
2 pkgname=mcabber-module-activity-hg
3 replaces=mcabber-module-activity-git
4 provides=mcabber-module-activity-git
5 conflicts=mcabber-module-activity-git
8 pkgdesc='Allows to see others activity and publish your. Provides /activity command. Requires pep module.'
9 url="http://wiki.mcabber.com/index.php/Modules"
11 arch=('i686' 'x86_64')
12 depends=('mcabber>=0.10.0' 'mcabber-module-pep-hg')
13 makedepends=("cmake" "mercurial" "mcabber>=0.10.0" 'mcabber-module-pep-hg')
15 _hgroot="https://isbear.unixzone.org.ua/isbear"
16 _hgrepo="mcabber-activity"
21 cp -rf $srcdir/$_hgrepo $srcdir/$_hgrepo-build
25 msg "Building $pkgname ..."
26 cd $srcdir/$_hgrepo-build
28 touch ./activity.avv.in
29 cmake -DMCABBER_INCLUDE_DIR=/usr/include/mcabber -DCMAKE_INSTALL_PREFIX=/usr .
32 DESTDIR=$pkgdir make install
34 rm -r $srcdir/$_hgrepo-build