1 # Contributor: twa022 <twa022 at gmail dot com>
7 pkgdesc="Compiler for the GObject type system 0.9 branch"
9 url="http://live.gnome.org/Vala"
12 makedepends=('libxslt')
14 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/0.9/${_pkgname}-${pkgver}.tar.bz2)
17 cd "${srcdir}/${_pkgname}-${pkgver}"
19 ./configure --prefix=/opt/vala-09 --enable-vapigen
21 make DESTDIR="${pkgdir}" install
22 mkdir -p ${pkgdir}/usr/bin
23 cat > ${pkgdir}/usr/bin/valac-09 <<- __EOF__
25 LD_PRELOAD='/opt/vala-09/lib/libvala-0.10.so.0' /opt/vala-09/bin/valac --vapidir='/opt/vala-09/share/vala-0.10/vapi' "\$@"
28 chmod 755 ${pkgdir}/usr/bin/valac-09
32 md5sums=('bb0c56845d0da349cbfd71d8645876f4')