updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / psi-git / PKGBUILD
blobc9fff31d86c01a23fbd9f40fdefc0a7418120287
1 # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
2 # Contributor: Denis Smirnov <detanator@gmail.com>
4 pkgname=psi-git
5 pkgver=20111201
6 pkgrel=1
7 pkgdesc='A jabber client. GIT version'
8 url='http://psi-im.org/'
9 license=('custom')
10 arch=('i686' 'x86_64')
11 depends=('qt' 'aspell' 'libxss' 'openssl' 'dbus' 'zlib')
12 makedepends=("git")
13 conflicts=('psi' 'psi-svn')
14 provides=('psi' 'psi-svn')
15 source=()
16 md5sums=()
18 _gitroot="git://github.com/psi-im/psi.git"
19 _gitname="psi"
21 build() {
22    msg "Connecting to $_gitroot ..."
23   if [[ -d $_gitname ]] ; then
24     cd $_gitname && git pull origin
25     msg 'Updating iris ...'
26     git submodule update
27     msg 'The local files are updated.'
28   else
29     git clone "$_gitroot"
30     cd $_gitname
31     msg 'Getting iris ...'
32     git submodule init
33     git submodule update
34   fi
35    
36   #[[ -d $srcdir/$_gitname-build ]] && rm -r $srcdir/$_gitname-build
37   #cp -r $srcdir/$_gitname $srcdir/$_gitname-build
39   #msg "Building $pkgname ..."
40   #cd $srcdir/$_gitname-build
42   ./configure --prefix=/usr
43   make
46 package() {
47   cd $_gitname
48   make INSTALL_ROOT="$pkgdir" install
50    # Copy Psi license
51   install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
54 # vim:set ts=2 sw=2 ft=sh et: