1 # Maintainer: Tavian Barnes <tavianator@gmail.com>
3 pkgname="dimension-git"
6 pkgdesc="A photo-realistic 3-D renderer"
8 url="http://www.tavianator.com/dimension/"
9 license=('GPL3' 'LGPL3')
10 depends=('libpng' 'libgl' 'python')
11 makedepends=('cython' 'pkgconfig')
12 provides=('dimension')
13 conflicts=('dimension')
17 _gitroot="git://gitorious.org/dimension/dimension.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
39 ./configure --prefix=/usr
44 cd "$srcdir/$_gitname-build"
45 make DESTDIR="$pkgdir/" install