From 01b47af6474ac094ec199c7d75208874f8842d87 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 May 2011 22:33:36 +0000 Subject: Tue May 10 22:33:36 UTC 2011 --- community/ogre/PKGBUILD | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'community/ogre') diff --git a/community/ogre/PKGBUILD b/community/ogre/PKGBUILD index 1ad80ba86..9efa8a699 100644 --- a/community/ogre/PKGBUILD +++ b/community/ogre/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 40996 2011-03-03 04:00:57Z svenstaro $ +# $Id: PKGBUILD 46578 2011-05-09 16:26:46Z svenstaro $ # Maintainer: Sven-Hendrik Haase pkgbase=ogre pkgname=('ogre' 'ogre-docs') -pkgver=1.7.2 -pkgrel=5 +pkgver=1.7.3 +pkgrel=1 pkgdesc="A scene-oriented, flexible 3D engine written in C++" arch=('i686' 'x86_64') url='http://www.ogre3d.org' @@ -13,10 +13,11 @@ depends=('boost-libs' 'freeimage' 'freetype2' 'libxaw' 'libxrandr' makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu') optdepends=('cppunit: unit testing' 'intel-tbb: better threading support' - 'poco: portability') + 'poco: portability' + 'boost: for developing using ogre') install=ogre.install source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}_src_v${pkgver//./-}.tar.bz2") -md5sums=('dd6574b8d906a74950c1e05633b2e96f') +md5sums=('7a85d3b8f0d64debd186e48ebe9556aa') build() { cd ${srcdir}/${pkgname}_src_v${pkgver//./-} @@ -28,13 +29,13 @@ build() { # generate CMake Makefile cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \ - -DOGRE_INSTALL_SAMPLES=TRUE \ - -DOGRE_INSTALL_DOCS=TRUE \ - -DOGRE_INSTALL_MEDIA=TRUE \ - -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \ - -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version + -DCMAKE_INSTALL_PREFIX=/usr \ + -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \ + -DOGRE_INSTALL_SAMPLES=TRUE \ + -DOGRE_INSTALL_DOCS=TRUE \ + -DOGRE_INSTALL_MEDIA=TRUE \ + -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \ + -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version # compile make @@ -73,7 +74,8 @@ package_ogre() { package_ogre-docs() { pkgdesc="Documentation for ogre" depends=() - cd ${srcdir}/${pkgname}_src_v${pkgver//./-}/build + + cd ${srcdir}/${pkgbase}_src_v${pkgver//./-}/build # move docs into this package install -dm755 ${pkgdir}/usr/share/doc -- cgit v1.2.3-54-g00ecf