2 # Maintainer: Gianmarco Brocchi <brocchi@poisson.phc.unipi.it>
4 pkgname=valencia-gedit3-git
7 pkgdesc="Turn gedit into a Vala development environment"
9 url="http://yorba.org/valencia/"
11 depends=('vala' 'libpeas' 'gtksourceview3' 'libgee' 'vte3')
14 conflicts=('valencia')
18 install=${pkgname}.install
19 source=(makefile.patch)
21 md5sums=('1f24347e5d17f8d86052f2c603a0009f')
23 _gitroot="git://yorba.org/valencia"
28 msg "Connecting to GIT server...."
30 if [[ -d "$_gitname" ]]; then
31 cd "$_gitname" && git pull
32 msg "The local files are updated."
34 git clone "$_gitroot" "$_gitname" --branch gedit-3
37 msg "GIT checkout done or server timeout"
38 msg "Starting build..."
40 rm -rf "$srcdir/$_gitname-build"
41 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
44 patch -i "$srcdir/makefile.patch" -p0 || return 1
46 make DESTDIR="$pkgdir/" install
50 # cd "$srcdir/$_gitname-build"
51 # make DESTDIR="$pkgdir/" install
54 # vim:set ts=2 sw=2 et: