blob: 631de5692e70b694681fbc394bd016547e5e7ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
pkgname=ogre-pagedgeometry-git
pkgver=1.1.3
pkgrel=3
pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass."
arch=('i686' 'x86_64')
url="http://code.google.com/p/ogre-paged"
license=('MIT')
makedepends=('ogre' 'boost' 'cmake' 'git')
provides=('ogre-pagedgeometry')
source=(git+https://github.com/RigsOfRods/ogre-pagedgeometry)
sha512sums=('SKIP')
build() {
cd $srcdir/ogre-pagedgeometry
# get a clean build dir
[[ -d build ]] && rm -rf build
mkdir build
cd build
cmake .. \
-DPAGEDGEOMETRY_BUILD_SAMPLES=0 \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
install -Dm644 $srcdir/ogre-pagedgeometry/lib/libPagedGeometry.a $pkgdir/usr/lib/libPagedGeometry.a
mkdir $pkgdir/usr/include
cp -r $srcdir/ogre-pagedgeometry/include $pkgdir/usr/include/PagedGeometry
}
|