1 #Maintainer: lubosz <lubosz@gmail.com>
6 pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner"
8 url="http://assimp.sourceforge.net/"
13 options=(makeflags !emptydirs)
14 _gitroot="git://github.com/assimp/assimp.git"
20 msg "Connecting to the GNOME GIT server...."
21 if [[ -d ${srcdir}/${_gitname} ]] ; then
24 msg "The local files are updated..."
29 msg "GIT checkout done."
31 msg "Starting make for: ${pkgname}"
33 if [[ -d ${srcdir}/${_gitname}-build ]]; then
34 msg "Cleaning the previous build directory..."
35 rm -rf ${srcdir}/${_gitname}-build
38 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
40 cd ${srcdir}/${_gitname}-build
44 -DCMAKE_INSTALL_PREFIX=/usr
47 make DESTDIR=$pkgdir install || return 1