2 # Contributor: Thijs Vermeir <thijsvermeir@gmail.com>
8 Jhbuild is a program that can be used to pull a number of modules from CVS \
9 and build them in the correct order. \
10 Unlike some build scripts, jhbuild lets you specify what modules you want \
11 built and it will then go and build those modules plus dependencies."
12 arch=("i686" "x86_64")
15 makedepends=(python autoconf automake libtool gettext pkgconfig rsync subversion gnome-common git intltool gnome-doc-utils)
18 url="http://www.jamesh.id.au/software/jhbuild/"
23 if [ -d jhbuild ]; then
26 git checkout -f master
29 git clone git://git.gnome.org/jhbuild
33 # sed -i 's/AM_PATH_PYTHON/AM_PATH_PYTHON(2.7)/g' configure.ac
34 export PYTHON=/usr/bin/python2
35 ./autogen.sh --prefix=/usr
37 make DESTDIR="$pkgdir" install
38 echo "done with install"
39 mkdir -p $pkgdir/usr/share/jhbuild/modulesets
40 cp -r modulesets/* $pkgdir/usr/share/jhbuild/modulesets
41 sed -i 's=python$=python2=g' $pkgdir/usr/bin/jhbuild