1 # Contributor: L29Ah <zl29ah@gmail.com>
2 # Contributor: LexsZero <lexszero@gmail.com>
3 # Maintainer: Padavan <padavankun@gmail.com>
5 #hatexmpp is a xmpp-client featuring ii-like interface
6 #to run: hatexmpp <mountpoint> -d
7 #to configure: echo 'username' > <mountpoint>/config/username
8 #The same operation you need to do with other settings like
9 #server, password, resource, muc_default_nick, jiv_name, jiv_os, jiv_version
14 pkgdesc="hatexmpp is a xmpp-client featuring ii-like interface"
15 arch=('i686' 'x86_64')
16 url="http://github.com/l29ah/hatexmpp"
18 depends=('glib' 'fuse' 'loudmouth')
22 _gitroot="git://github.com/l29ah/hatexmpp.git"
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"
47 LDFLAGS=""; export LDFLAGS
50 mkdir -p ${pkgdir}/usr/{bin,share} || return 1
51 cp -R hatexmpp ${pkgdir}/usr/share/hatexmpp || return 1
52 ln -s /usr/share/hatexmpp/hatexmpp ${pkgdir}/usr/bin/hatexmpp || return 1