1 # Contributor: Markus Martin <markus@archwyrm.net>
3 pkgname=ogre-pagedgeometry
6 pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass"
8 url="http://code.google.com/p/ogre-paged"
10 makedepends=('ogre' 'boost')
11 source=(http://ogre-paged.googlecode.com/files/ogre-paged-1.1.3.tar.gz)
12 md5sums=('14dde42c0d1d2f52e225ccbc1c23c82f')
15 cd $srcdir/ogre-paged-$pkgver
17 cmake . -DPAGEDGEOMETRY_BUILD_SAMPLES=0 \
18 -DCMAKE_INSTALL_PREFIX=/usr || return 1
23 cd $srcdir/ogre-paged-$pkgver
25 make DESTDIR=$startdir/pkg install || return 1
27 # Put the docs into the proper place with their own directory
28 docdir=$pkgdir/usr/share/doc
30 mv $pkgdir/usr/doc $docdir/ogre-pagedgeometry