1 # Contributor: Artem Kondratyev <konapt@gmail.com>
3 pkgname=logjam-andyshev-git
6 pkgdesc="GTK2 LiveJournal client, Andy Shevchenko's development branch"
8 url="http://github.com/andy-shev/LogJam/"
10 depends=(gtk2 pango libxml2 libsoup librsvg gtkspell sqlite3 gtkhtml)
11 makedepends=('git' 'autoconf>=2.53' 'automake>=1.9' 'libtool>=1.5' 'intltool>=0.30' 'perl-yaml')
13 provides=('logjam=4.6.1')
14 install=logjam-andyshev-git.install
16 _gitroot="git://github.com/andy-shev/LogJam.git"
21 msg "Connecting to github.com GIT server...."
23 if [ -d ${srcdir}/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build
35 cd ${srcdir}/$_gitname-build
38 ./configure --prefix=/usr || return 1
40 make DESTDIR=$pkgdir install || return 1
42 rm -rf $srcdir/$_gitname-build