updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / gajim-hg / PKGBUILD
blob4451f7fded4e10e5bf2986dbac8ba2afededf882
1 # Maintainer: Lev Lybin <lybin@yandex.com>
2 # Contributor: Benjamin Richter <br@waldteufel-online.net>
3 # Contributor: Changaco <changaco@changaco.net>
4 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
6 pkgname=gajim-hg
7 pkgver=13315
8 pkgrel=1
9 pkgdesc="Jabber/XMPP instant messenger client written in PyGTK"
10 arch=('i686' 'x86_64')
11 url="http://hg.gajim.org/gajim"
12 license=('GPL3')
13 depends=('pygtk>=2.16' 'python2>=2.5' 'python2-pyopenssl' 'dnsutils' 'python2-bsddb' )
14 makedepends=('mercurial' 'intltool>=0.40.1')
15 optdepends=(
16     'dbus-python: Python bindings for DBUS'
17     'farsight2: video/voice support'
18     'gstreamer0.10-good: video/voice support'
19     'gstreamer0.10-bad: video/voice support'
20     'libxss: for idle module'
21     'gtkspell: spelling support (install aspell-LANG!)'
22     'notification-daemon: for desktop notification'
23     'pycrypto: End to end encryption'
24     'python-gnomekeyring: for GnomeKeyring support as password storage'
25     'kwalletcli: for support of KDE Wallet as password storage'
26     'dbus-glib: for zeroconf (bonjour), the "enable link-local messaging" checkbox'
27     'avahi: for zeroconf (bonjour), install dbus-glib!'
28     'python-notify: Notification popups')
29 provides=('gajim')
30 conflicts=('gajim' 'gajim-svn')
31 replaces=('gajim-svn')
32 install=gajim.install
34 _hgroot=http://hg.gajim.org
35 _hgrepo=gajim
37 build() {
38     export PYTHON=`which python2`
39     cd "${srcdir}/${_hgrepo}"
40     hg update default
41     ./autogen.sh --prefix=/usr
42     make
45 package() {
46     cd "${srcdir}/${_hgrepo}"
47     make DESTDIR="${pkgdir}" install