1 # Maintainer: mathieui <mathieui[at]mathieui.net>
2 # Contributor: Baptiste Jonglez <zerstorer at free dot fr>
7 pkgdesc="A full-featured command-line irc-like (muc-centered) jabber client (git)"
10 replaces=('poezio' 'poezio-hg')
11 provides=('poezio' 'poezio-hg')
14 makedepends=('git' 'python-sleekxmpp-poezio')
15 optdepends=('python-dnspython-hg: SRV records support (also, gmail)')
17 _gitroot="http://git.louiz.org/poezio"
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
42 make DESTDIR="$pkgdir/" prefix=/usr install