1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
2 # Contributor: <arsenm2@rpi.edu>
4 pkgname=gobject-introspection-git
7 pkgdesc="GObject Introspection"
9 url="http://live.gnome.org/GObjectIntrospection/"
11 depends=('glib2' 'python2' 'libffi')
13 makedepends=('git' 'pkgconfig' 'autoconf' 'gtk-doc' 'gnome-common' 'bison')
14 provides=('gobject-introspection=0.10.0' 'gobject-introspection-git')
15 conflicts=('gobject-introspection' 'gobject-introspection-svn')
16 options=(!makeflags docs)
20 _gitroot="git://git.gnome.org/gobject-introspection"
21 _gitname="gobject-introspection"
25 msg "Connecting to git.gnome.org GIT server...."
27 if [ -d $srcdir/$_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
38 cd $srcdir/$_gitname-build
40 sed -i 's|^# Python|# Python\
41 PYTHON=/usr/bin/python2|' configure.ac
45 ./configure --prefix=/usr
47 make DESTDIR=$pkgdir install
49 rm -rf $srcdir/$_gitname-build
52 # vim:set ts=2 sw=2 et: