1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 pkgname=ogitor-unstable-hg
5 pkgdesc="scene editing framework for Ogre3D"
7 url='http://www.ogitor.org'
9 depends=('ogre-hg' 'qt')
10 makedepends=('cmake' 'mercurial' 'unzip')
11 #optdepends=('cppunit: unit testing'
12 # 'doxygen: generate API docs')
15 source=(http://www.ogitor.org/media.zip
16 http://www.ogitor.org/projects.zip)
17 md5sums=('7aea54303184b0b239d6ccee26e15429'
18 '1274670ccd7ee47994898471e47de0c9')
20 _hgtrunk="http://hg.ogitor.org/development"
26 if [ -d $_hgmod/.hg ]; then
27 cd $_hgmod && hg pull -u
29 hg clone $_hgtrunk $_hgmod
32 msg "Mercurial checkout done or server timeout"
33 msg "Starting make..."
36 if [ -d $_hgmod-build ]; then
39 hg clone $_hgmod $_hgmod-build
42 cd ${srcdir}/$_hgmod-build
44 unzip -d RunPath ${srcdir}/media.zip
45 unzip -d RunPath ${srcdir}/projects.zip
47 mkdir build && cd build
48 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
50 make DESTDIR=${pkgdir} install