updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / jhbuild-git / PKGBUILD
blob704ada3b4088382e1d4de9118d0e02118e487966
1 # $Id$
2 # Contributor: Thijs Vermeir <thijsvermeir@gmail.com>
4 pkgname=jhbuild-git
5 pkgver=2.32.4
6 pkgrel=3
7 pkgdesc="\
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")
13 license=('GPL')
14 depends=(python2)
15 makedepends=(python autoconf automake libtool gettext pkgconfig rsync subversion gnome-common git intltool gnome-doc-utils)
16 source=( )
17 md5sums=( )
18 url="http://www.jamesh.id.au/software/jhbuild/"
20 build() {
21     cd $startdir/src
23     if [ -d jhbuild ]; then
24       cd jhbuild
25       git clean -d -f -x
26       git checkout -f master
27       git pull
28     else
29       git clone git://git.gnome.org/jhbuild
30       cd jhbuild
31     fi
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
36     make
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