1 # Contributor: Matt Arsenault <arsenm2@rpi.edu>
5 pkgdesc="Library and interpreter for JavaScript with GObject type system bindings."
7 url="http://live.gnome.org/Seed/"
9 depends=('glib2' 'gnome-js-common' 'gobject-introspection' 'gir-repository' 'libwebkit' 'readline' 'libsoup')
10 makedepends=('git' 'autoconf' 'bison' 'python' 'libtool' 'pkgconfig'
11 'intltool' 'gtk-doc' 'gnome-common' 'gtk-doc')
13 provides=('seed' 'seed-git')
14 conflicts=('seed' 'seed-svn')
15 replaces=('seed-svn' 'seed')
18 options=(!makeflags docs)
24 _gitroot="git://git.gnome.org/seed"
29 msg "Connecting to git.gnome.org GIT server...."
31 if [ -d $srcdir/$_gitname ] ; then
32 cd $_gitname && git pull origin
33 msg "The local files are updated."
38 msg "GIT checkout done or server timeout"
39 msg "Starting make..."
41 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
42 cd $srcdir/$_gitname-build
45 ./autogen.sh --prefix=/usr || return 1
47 make DESTDIR=$pkgdir install || return 1
49 rm -rf $srcdir/$_gitname-build