updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / clutter-gtk-git-mys / PKGBUILD
blob03a0bf49afe8c9af2714fc036770a9c1955e3fa9
1 # Contributor: mariusz - myswiat <my.swiat@o2.pl>
3 pkgname=clutter-gtk-git-mys
4 pkgver=20110704
5 pkgrel=1
6 pkgdesc="A toolkit for creating fast, portable, compelling dynamic UIs"
7 arch=('i686' 'x86_64')
8 url="http://gnome.org/"
9 license=('LGPL')
10 depends=('cogl-git' 'clutter-git-mys')
11 options=('!libtool')
12 provides=()
13 conflicts=('clutter-svn')
14 source=()
15 md5sums=()
17 _gitroot="http://git.gnome.org/browse/clutter-gtk"
18 _gitname="clutter-gtk"
20 build() {
21   cd $srcdir
22   msg "Connecting to git.gnome.org GIT server...."
24   if [ -d $srcdir/$_gitname ] ; then
25     cd $_gitname && git pull master
26     msg "The local files are updated."
27   else
28     git clone $_gitroot
29   fi
31   msg "GIT checkout done or server timeout"
32   msg "Starting make..."
34   cp -r $srcdir/$_gitname $srcdir/$_gitname-build
35   cd $srcdir/$_gitname-build
37   msg "Starting build"
38   ./autogen.sh -prefix=/usr
39   make
40   make DESTDIR=$pkgdir install
42   rm -rf $srcdir/$_gitname-build