1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="Lua binadings for gnome/gobject using gobject-introspection library."
9 url="http://gitorious.org/lgi"
11 depends=('lua' 'gobject-introspection')
12 makedepends=('git' 'python2')
16 _gitroot="git://gitorious.org/lgi/lgi.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_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 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
41 python2 ./waf configure --prefix=/usr
46 cd "$srcdir/$_gitname-build"
48 python2 ./waf install --destdir="$pkgdir/"