# Maintainer: tuftedocelot@fastmail.fm # Contributor: Nickolay Stepanenko pkgname=mcabber-module-marking-hg pkgver=32 pkgrel=1 pkgdesc="Adds ability to mark several buddies and do some command for each of these buddies. Provides commands '/mark' and '/marked'. " url="http://wiki.mcabber.com/index.php/Modules" license=(GPL) arch=('i686' 'x86_64') depends=('mcabber>=0.10.0' 'mcabber-module-pep-hg') makedepends=("cmake" "mercurial" "mcabber>=0.10.0") _hgrepo="mcabber-marking" md5sums=(SKIP) source=("hg+http://hg.isbear.org.ua/isbear/${_hgrepo}") pkgver() { cd $_hgrepo echo $(hg identify -n) } build() { cp -rf $srcdir/$_hgrepo $srcdir/$_hgrepo-build cd $srcdir/$_hgrepo-build cmake -DMCABBER_INCLUDE_DIR=/usr/include/mcabber -DCMAKE_INSTALL_PREFIX=/usr . make || return 1 } package() { cd $srcdir/$_hgrepo-build DESTDIR=$pkgdir make install }