1 # Packager: Nixtrian <nixtrian@gmail.com>
5 pkgdesc="is a small Jabber console client, includes features: SSL, PGP, MUC, UTF8"
7 provides=('mcabber=0.10.1')
8 conflicts=(mcabber mcabber-lm-hg mcabber-crew-hg)
9 url="http://www.mcabber.com"
11 depends=('ncurses' 'glib2' 'openssl' 'gpgme' 'libotr' 'aspell' 'loudmouth')
12 makedepends=('pkgconfig' 'mercurial')
16 _hgroot="http://mcabber.com"
22 cp -a ${srcdir}/${_hgrepo}/mcabber ${srcdir}/mcabber-build || return 1
23 cd ${srcdir}/mcabber-build
26 ./configure --prefix=/usr --enable-hgcset \
27 --mandir=/usr/share/man \
28 --enable-aspell --enable-otr --enable-modules
30 make DESTDIR=$pkgdir install || return 1
31 mkdir -p $pkgdir/usr/share/mcabber/example
32 msg "Copying mcabberrc.example to usr/share/mcabber/example/mcabberrc"
33 cp -a $srcdir/mcabber-build/mcabberrc.example \
34 $pkgdir/usr/share/mcabber/example/mcabberrc
36 mkdir -p $pkgdir/usr/share/mcabber/doc
37 install -D -m 0644 $srcdir/$_hgrepo/mcabber/doc/HOWTO_modules.txt \
38 $pkgdir/usr/share/mcabber/doc/HOWTO_modules.txt
39 mkdir -p $pkgdir/usr/include/mcabber/
40 install -D -m 0644 $srcdir/mcabber-build/mcabber/*.h \
41 $pkgdir/usr/include/mcabber/ ||return 1
43 rm -rf ${srcdir}/mcabber-build