1 # Contributor: atie H. <atie.at.matrix@gmail.com>
3 pkgname=cluttersmith-git
6 pkgdesc="A GObject based library for creating fast, visually rich graphical user interfaces"
8 url="http://clutter-project.org/"
10 depends=('clutter-git' 'json-glib-git' 'mx')
15 _gitroot="git://git.clutter-project.org/cluttersmith"
16 _gitname="cluttersmith"
19 msg "Connecting to git.clutter-project.org GIT server...."
21 if [ -d "$srcdir/$_gitname" ] ; then
22 cd "$srcdir/$_gitname" && git pull origin
23 msg "The local files are updated."
28 if [ -d "$srcdir/$_gitname-build" ] ; then
29 cd "$srcdir/$_gitname-build" && git pull origin
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd $srcdir/$_gitname-build
37 ./autogen.sh --prefix=/usr
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir" install