1 # Maintainer: Christian Bühler <christian@cbuehler.de>
5 pkgdesc="The Qt Quick module for scripting 3D applications in QML"
7 url="http://doc.qt.nokia.com/qt-quick3d-snapshot/"
12 _gitroot=git://gitorious.org/qt/quick3d.git
17 msg "Connecting to GIT server...."
19 if [[ -d "$_gitname" ]]; then
20 cd "$_gitname" && git pull origin
21 msg "The local files are updated."
23 git clone "$_gitroot" "$_gitname"
26 msg "GIT checkout done or server timeout"
27 msg "Starting build..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
39 INSTALL_ROOT="$pkgdir" make install
42 # vim:set ts=2 sw=2 et: