1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
6 pkgdesc="A collection of plugins for gEdit to make it a better programmer editor for the Vala language."
8 url="http://code.google.com/p/vtg/"
9 license=('GPL2' 'LGPL2.1')
10 depends=('gedit>=3.0.0' 'vala' 'gdk-pixbuf2' 'afrodite-git')
12 install=vtg-git.install
17 _gitroot=git://gitorious.org/vala-toys/vala-toys.git
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname" --depth 1
31 msg "GIT checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "$srcdir/$_gitname-build"
35 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
40 # --disable-afrodite only disables the building of it, and we want to use the systemwide lib instead
41 LIBS=-lm ./autogen.sh --prefix=/usr --disable-afrodite --with-systemlibs
46 cd "$srcdir/$_gitname-build"
47 make DESTDIR="$pkgdir/" install
50 # vim:set ts=2 sw=2 et: