updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mcabber-module-pep-hg / PKGBUILD
blob6b8b8e177c52c1d975bf3f03d36f5a6b5ab7423c
1 # Contributor: Nickolay Stepanenko <nixtrian at gmail dot com>
2 pkgname=mcabber-module-pep-hg
3 replaces=mcabber-module-pep-git
4 provides=mcabber-module-pep-git
5 conflicts=mcabber-module-pep-git
6 pkgver=28
7 pkgrel=2
8 pkgdesc='A pep mcabber module'
9 url="http://wiki.mcabber.com/index.php/Modules"
10 license=(GPL)
11 arch=('i686' 'x86_64')
12 depends=('mcabber>=0.10.0')
13 makedepends=("cmake" "mercurial" "mcabber>=0.10.0")
15 _hgroot="https://isbear.unixzone.org.ua/isbear"
16 _hgrepo="mcabber-pep"
18 build() {
20    
21         cp -rf $srcdir/$_hgrepo $srcdir/$_hgrepo-build
22         
25    msg "Building $pkgname ..."
26         cd $srcdir/$_hgrepo-build
27         
28         cmake -DMCABBER_INCLUDE_DIR=/usr/include/mcabber -DCMAKE_INSTALL_PREFIX=/usr .
29         make || return 1
30         DESTDIR=$pkgdir make install
32         rm -r $srcdir/$_hgrepo-build