1 # Maintainer: Tai Chi Minh Ralph Eastwood <tcmreastwod@gmail.com>
5 pkgdesc="BlendELF is an open source 3d game engine"
7 url="http://blendelf.com/index.html"
9 depends=('glfw' 'glew' 'freeimage' 'freetype2' 'openal' 'libvorbis' 'lua' 'bullet' 'enet' 'assimp-git')
12 conflicts=('blendelf')
14 md5sums=('100818911d4715153399c3a1648bb0fe')
16 _gitroot="git://github.com/centralnoise/BlendELF.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin master
25 msg "The local files are updated."
27 git clone -b master $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 patch -Np1 -i ../compile.diff
42 install -Dm755 blendelfd "$pkgdir/usr/bin/blendelfd"
43 install -Dm755 blendelf "$pkgdir/usr/bin/blendelf"
44 install -Dm755 libblendelf.so "$pkgdir/usr/lib/libblendelf.so"
45 install -Dm644 csdk/blendelf.h "$pkgdir/usr/include/blendelf.h"
46 #install -Dm755 tools/blender25_pak_exporter_fast.py "$pkgdir/usr/share/blender/scripts/blender25_pak_exporter_fast.py"
47 install -Dm755 tools/blender_pak_exporter_fast.py "$pkgdir/usr/share/blender/scripts/blender_pak_exporter_fast.py"
48 install -Dm755 docs/api_doc.html "$pkgdir/usr/share/blendelf/docs/api_doc.html"
49 install -Dm755 docs/style.css "$pkgdir/usr/share/blendelf/docs/style.css"
50 install -Dm755 docs/images/topbanner.jpg "$pkgdir/usr/share/blendelf/docs/images/topbanner.jpg"
53 # vim:set ts=2 sw=2 et: