1 # Contributor: Piotr Okoński <piotr@okonski.org>
2 # Maintainer: Jakub Okoński <kuba@okonski.org>
6 pkgdesc="Active fork of Psi, Jabber/XMPP client. Fixes History and provides searching in it."
8 url="http://github.com/pokonski/psi"
10 depends=('qt' 'qca-ossl' 'qca-gnupg' 'xdg-utils' 'libxss' 'enchant')
12 optdepends=('psimedia')
14 conflicts=('psi' 'psi-svn' 'psi-git')
16 _gitroot="git://github.com/pokonski/psi.git"
21 msg "[Git] Connecting to server...."
23 if [ -d $_gitname ] ; then
24 msg "[Git] Repository existing locally"
25 msg "[Git] Fetching from origin"
26 cd $_gitname && git pull origin
27 msg "[Git] Local files updated."
30 msg "[Git] Cloning repository"
31 git clone $_gitroot $_gitname
37 msg "[Git] Checkout done or server timeout"
38 msg "Starting make..."
40 if [ -d $srcdir/$_gitname-build ] ; then
41 cd "$srcdir/$_gitname-build"
42 git pull "../$_gitname"
44 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
45 cd "$srcdir/$_gitname-build"
52 ./configure --prefix=/usr
54 make INSTALL_ROOT="$pkgdir/" install || return 1
57 install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"