diff options
Diffstat (limited to 'community/ogre')
-rw-r--r-- | community/ogre/PKGBUILD | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/community/ogre/PKGBUILD b/community/ogre/PKGBUILD index 27a1f13bd..f732f1646 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 <sh@lutzhaase.com> 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' 'mips64el') 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 |