1 # Contributor: Martin Häger <martin.haeger@gmail.com>
5 pkgdesc="Command-line utility for posting updates to Twitter, written in C."
7 url="http://mtah.github.com/cltwitter"
9 depends=('curl' 'libxml2' 'pcre' 'liboauth')
17 _gitroot="git://github.com/mtah/cltwitter.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
39 ./configure --prefix=/usr --sysconfdir=/etc
41 make DESTDIR="$pkgdir/" install