updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / caelum / PKGBUILD
blob326e25ecc352be90c0d45dc53caf6d86812c8c97
1 # Contributor: Falcata
2 # Maintainer: Jose Riha <jose1711 gmail com>
4 pkgname=caelum
5 pkgver=0.5.0
6 pkgrel=4
7 pkgdesc="library for Ogre targeted to help creating photorealistic atmospheric effects"
8 arch=('i686' 'x86_64')
9 url="http://www.ogre3d.org/tikiwiki/Caelum"
10 depends=('ogre' 'cegui-ogre')
11 makedepends=('scons')
12 license=('LGPL')
13 source=(http://sourceforge.net/projects/caelum/files/caelum/0.5/Caelum-${pkgver}.zip/download)
14 md5sums=('5adb1809453930a71f61d6bb4ba0ce7d')
16 build() {
17   cd $srcdir/Caelum-$pkgver
18   sed -e '/if ceguiDemoEnv:/s/^/#/' -e '/CaelumLab.cpp/s/^/#/' -i SConstruct
19   scons -j2 --silent .
22 package() {
23   mkdir -p $pkgdir/usr/include/Caelum
24   cd $srcdir/Caelum-$pkgver
25   install -D -m644 libCaelum.a $pkgdir/usr/lib/libCaelum.a
26   install -D -m644 main/include/* $pkgdir/usr/include/Caelum/