summaryrefslogtreecommitdiff
path: root/community/openscenegraph/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/openscenegraph/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/openscenegraph/PKGBUILD')
-rw-r--r--community/openscenegraph/PKGBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/openscenegraph/PKGBUILD b/community/openscenegraph/PKGBUILD
index 8c262832b..b083d8935 100644
--- a/community/openscenegraph/PKGBUILD
+++ b/community/openscenegraph/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 47048 2011-05-14 19:07:46Z tdziedzic $
+# $Id: PKGBUILD 50319 2011-06-28 10:21:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Hans Janssen <janserv@gmail.com>
# Contributor: my64 <packages@obordes.com>
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
pkgname=openscenegraph
-pkgver=2.8.4
+pkgver=2.8.5
pkgrel=1
pkgdesc="An Open Source, high performance real-time graphics toolkit"
arch=('i686' 'x86_64')
@@ -17,22 +17,18 @@ optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib')
conflicts=('openthreads')
provides=('openthreads')
source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip)
-md5sums=('283215b4040f7c5b85d30862a8eba97c')
+md5sums=('de844947d410726ba50ed07eb6319e6f')
build() {
cd OpenSceneGraph-$pkgver
-
[ $NOEXTRACT -eq 1 ] || cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-
+ sed -i 's|#include <curl/types.h>|//#include <curl/types.h>|' src/osgPlugins/curl/ReaderWriterCURL.cpp
make
}
package() {
cd OpenSceneGraph-$pkgver
-
make DESTDIR="$pkgdir" install
-
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
[ -d "$pkgdir/usr/lib64" ] && mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib" || true
}