summaryrefslogtreecommitdiff
path: root/community/openscenegraph
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-15 22:39:31 +0000
committerroot <root@rshg047.dnsready.net>2011-05-15 22:39:31 +0000
commita45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe (patch)
tree3855efd25da6fab2bbaf889a2090a44a9faab93f /community/openscenegraph
parente69c538fc7af5a9861c7688dd15913082d978180 (diff)
Sun May 15 22:39:30 UTC 2011
Diffstat (limited to 'community/openscenegraph')
-rw-r--r--community/openscenegraph/PKGBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/community/openscenegraph/PKGBUILD b/community/openscenegraph/PKGBUILD
index 68cd7a829..8c262832b 100644
--- a/community/openscenegraph/PKGBUILD
+++ b/community/openscenegraph/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 38818 2011-02-01 11:50:23Z spupykin $
+# $Id: PKGBUILD 47048 2011-05-14 19:07:46Z tdziedzic $
# 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.3
-pkgrel=5
+pkgver=2.8.4
+pkgrel=1
pkgdesc="An Open Source, high performance real-time graphics toolkit"
arch=('i686' 'x86_64')
license=('custom:OSGPL')
@@ -16,17 +16,23 @@ makedepends=('cmake' 'libvncserver')
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib')
conflicts=('openthreads')
provides=('openthreads')
-source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip
- build-fix.diff)
-md5sums=('dc43b9161555c4eab7f5a678dd4e01ab'
- '0fbcd32f129f94ac4775de326775b3cf')
+source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip)
+md5sums=('283215b4040f7c5b85d30862a8eba97c')
build() {
- cd "$srcdir/OpenSceneGraph-$pkgver"
+ cd OpenSceneGraph-$pkgver
+
[ $NOEXTRACT -eq 1 ] || cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
- patch -p1 <$srcdir/build-fix.diff || true
+
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
}