1 # Maintainer: Alf <naihe2010@126.com>
6 pkgdesc='A UMD parser and render C library'
8 url='http://naihe2010.github.com/libumd/index.html'
11 makedepends=('git' 'cmake' 'doxygen')
12 options=('!buildflags')
13 _gitroot='http://github.com/naihe2010/libumd.git'
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
27 rm -rf "$srcdir/$_gitname-build"
28 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
29 cd "$srcdir/$_gitname-build"
31 mkdir build && cd build
32 cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIBUMD_WITH_INSTALL=ON ..
37 cd "$srcdir/$_gitname-build/build"
38 make DESTDIR="$pkgdir/" install