1 # Maintainer: spider-mario <spidermario@free.fr>
2 pkgname=scengine-core-git
5 pkgdesc="Free and open-source (GPL) 3D engine (core)"
7 url="http://scengine.tuxfamily.org/"
9 depends=('scengine-utils-git')
10 makedepends=('git' 'autoconf' 'automake' 'libtool')
11 provides=('scengine-core')
12 conflicts=('scengine-core')
14 _gitroot="git://gitorious.org/scengine/core.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
39 ./configure --prefix=/usr
44 cd "$srcdir/$_gitname-build"
45 make DESTDIR="$pkgdir/" install