summaryrefslogtreecommitdiffstats
path: root/gajim-hg/PKGBUILD
blob: ae8c565752bcbbae980249cec57abd988c058442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: Lev Lybin <lev at lybin dot org>
# Contributor: Benjamin Richter <br@waldteufel-online.net>
# Contributor: Changaco <changaco@changaco.net>
# Contributor: Artyom Smirnov <smirnoffjr@gmail.com>

pkgname=gajim-hg
pkgver=12485
pkgrel=1
pkgdesc="Jabber/XMMP instant messenger client written in PyGTK"
arch=('i686' 'x86_64')
url="http://gajim.org"
license=('GPL3')
depends=('python>=2.5' 'pygtk>=2.16' 'xdg-utils' 'python-pysqlite')
makedepends=('mercurial' 'intltool>=0.40.1')
optdepends=(
	'dbus-python: Python bindings for DBUS'
	'pyopenssl: for secure SSL/TLS'
	'notification-daemon: for desktop notification'
	'dnsutils: for SRV support'
	'libxss: for idle module'
	'gtkspell:spelling support (install aspell-LANG!)'
	'gnome-python-desktop: for GnomeKeyring support'
	'farsight2: video/voice support'
	'gstreamer0.10-good: video/voice support'
	'gstreamer0.10-bad: video/voice support'
	'pycrypto: End to end encryption'
	'dbus-glib: link-local messaging (install avahi!)'
	'avahi: link-local messaging (install dbus-glib!)'
	'python-notify: Notification popups')
    
provides=('gajim')
conflicts=('gajim' 'gajim-svn')
replaces=('gajim-svn')
install=gajim.install

_hgroot=http://hg.gajim.org
_hgrepo=gajim

build() {
    cd "${srcdir}/${_hgrepo}"
    hg update default
    ./autogen.sh --prefix=/usr
    make
}

package() {
    cd "${srcdir}/${_hgrepo}"
    make DESTDIR="${pkgdir}" install
}