updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / clutter-mozembed-git / PKGBUILD
blob839af6b4f50b526761b3f3a11c6ffbdef553a027
1 # Contributor: atie H. <atie.at.matrix@gmail.com>
3 pkgname=clutter-mozembed-git
4 pkgver=20090706
5 pkgrel=1
6 pkgdesc=""
7 arch=('i686' 'x86_64')
8 url="http://clutter-project.org/"
9 license=('LGPL')
10 depends=()
11 options=('!libtool')
12 provides=('clutter-mozembed')
13 conflicts=('clutter-mozembed')
14 source=()
15 md5sums=()
17 _gitroot="git://git.clutter-project.org/clutter-mozembed"
18 _gitname="clutter-mozembed"
20 build() {
21   cd $srcdir
22   msg "Connecting to git.clutter-project.org GIT server...."
23   rm -rf $srcdir/$_gitname-build
24   if [ -d $srcdir/$_gitname ] ; then
25     cd $_gitname && git pull origin
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 || return 1
39   make || return 1
40   make DESTDIR=$pkgdir install || return 1