1 # $Id: PKGBUILD 3145 2009-09-28 10:00:46Z ibiru $
2 # Previous Contributor: Timm Preetz <timm@preetz.us>
3 # Previous Contributor: Alexander Fehr <pizzapunk gmail com>
4 # Previous Contributor: Thijs Vermeir <thijsvermeir@gmail.com>
5 # Contributor: Flamelab <panosfilip@gmail.com>
10 pkgdesc="Compiler for the GObject type system"
11 arch=('i686' 'x86_64')
12 url="http://live.gnome.org/Vala"
15 makedepends=('libxslt' 'vala' 'git')
17 conflicts=('vala' 'vala-devel')
20 _gitroot="git://git.gnome.org/vala"
27 msg "Connecting to the GIT server...."
28 if [[ -d ${srcdir}/${_gitname} ]] ; then
31 msg "The local files are updated..."
36 msg "GIT checkout done."
38 msg "Starting make for: ${pkgname}"
40 if [[ -d ${srcdir}/${_gitname}-build ]]; then
41 msg "Cleaning the previous build directory..."
42 rm -rf ${srcdir}/${_gitname}-build
45 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
47 cd ${srcdir}/${_gitname}-build
58 cd ${srcdir}/${_gitname}-build
60 make DESTDIR="$pkgdir" install