1 # Contributor: Cesar Alcalde <lambda512 _at_ gmail.com>
5 pkgdesc="A pragmatic, cross-platform, user-friendly Jabber/XMPP client. Still in developement"
10 depends=('libidn' 'avahi' 'libxss' 'expat' 'openssl' 'qt' 'hicolor-icon-theme' 'boost-libs' 'libxml2' 'libidn' 'qtwebkit')
11 makedepends=('git' 'scons' 'boost')
22 _gitroot="git://swift.im/swift"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
43 scons optimize=1 debug=0 allow_warnings=1 qt=/usr/ \
44 SWIFT_INSTALLDIR=${pkgdir}/usr ${pkgdir}/usr
47 # vim:set ts=2 sw=2 et: