1 # Contributor: scippio <scippio@seznam.cz>
2 # Changes: kotyz <kotyz.king@gmail.com>
3 # Changes: kamahl <jachymb@gmail.com>
4 # Changes: jlaunay <jerome@projet-libre.org>
9 pkgdesc="Jabber client written in PyQT with Pyxl library"
10 arch=('i686' 'x86_64')
14 url="http://dev.jabbim.cz/jabbim"
15 depends=('python2' 'qt>=4.4' 'python2-pyqt>=4.4' 'pyopenssl' 'twisted>=8.2.0' 'python-pysqlite' 'python-configobj')
16 makedepends=('subversion' 'sed')
17 install=jabbim.install
21 _svntrunk=svn://dev.jabbim.cz/jabbim/trunk
26 if [ -d $_svnmod/.svn ]; then
27 (cd $_svnmod && svn up -r $pkgver)
29 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg "SVN checkout done or server timeout"
33 msg "Starting make..."
36 sed -i 's/lrelease-qt4/lrelease/g' Makefile || return 1
37 sed -i 's:PREFIX =.*:PREFIX = /usr/:' Makefile || return 1
38 sed -i 's/images\//resources\/images\//g' Makefile || return 1
39 sed -i "9c jabbimdata = \$(datadir)/jabbim/src" Makefile|| return 1
40 sed -i 's/python/python2/g' Makefile || return 1
41 sed -i 's:/usr/local/share/jabbim:/usr/share/jabbim/:' jabbim.sh || return 1
44 make DESTDIR="$pkgdir" install
47 sed -i 's/python/python2/g' jabbim || return 1