updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / osgmodeling / PKGBUILD
blobac0be760a4ab6dd71c15acd7f83a315aaa49575d
1 # Contributor: Dmitry Batenkov <dima dot batenkov at gmail dot com>
3 pkgname=osgmodeling
4 pkgver=0.1.1
5 pkgrel=1
6 pkgdesc="Modeling NodeKit for OpenSceneGraph"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/osgmodeling/"
9 depends=('openscenegraph>=2.6.0')
10 builddepends=('cmake>=2.4')
11 license=('GPL')
12 source=(http://${pkgname}.googlecode.com/files/osgModeling-${pkgver}-src.tar.gz osgmodeling.pc)
13 md5sums=('e91c821d34e7afb7e7c97f84a7b3e880'
14          'b5ed08eb05f0c1bd93e359701eb5be89')
16 build(){
17         cd ${srcdir}/osgModeling
18         cmake . -DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_PLUGINS=ON -DCMAKE_INSTALL_PREFIX="/usr"
19         make || return 1
20         make DESTDIR=${pkgdir} install || return 1
21         mkdir -p ${pkgdir}/usr/lib/pkgconfig
22         cp ../../osgmodeling.pc ${pkgdir}/usr/lib/pkgconfig/