1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgdesc="scene editing framework for Ogre3D"
7 url='http://www.ogitor.org'
10 makedepends=('cmake' 'mercurial')
11 #optdepends=('cppunit: unit testing'
12 # 'doxygen: generate API docs')
18 _hgtrunk="http://hg.ogitor.org/0.3"
24 if [ -d $_hgmod/.hg ]; then
25 cd $_hgmod && hg pull -u || return 1
27 hg clone $_hgtrunk $_hgmod || return 1
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting make..."
34 if [ -d $_hgmod-build ]; then
37 hg clone $_hgmod $_hgmod-build
40 cd qtOgitor/qtpropertybrowser-2.5 && touch .licenseAccepted || return 1
41 sh configure -library && qmake qtpropertybrowser.pro && make || return 1
43 cd ${srcdir}/$_hgmod-build
44 cmake . -DCMAKE_INSTALL_PREFIX=/usr
47 make DESTDIR=${pkgdir} install || return 1
49 rm -rf ${srcdir}/$_hgmod-build