From a45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 May 2011 22:39:31 +0000 Subject: Sun May 15 22:39:30 UTC 2011 --- community/openscenegraph/PKGBUILD | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'community/openscenegraph') 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 # Maintainer: Hans Janssen # Contributor: my64 # Contributor: Colin Pitrat 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 } -- cgit v1.2.3-54-g00ecf