diff options
Diffstat (limited to 'community/mygui')
-rw-r--r-- | community/mygui/PKGBUILD | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/community/mygui/PKGBUILD b/community/mygui/PKGBUILD index 7ed4936bb..e5331abf4 100644 --- a/community/mygui/PKGBUILD +++ b/community/mygui/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 94034 2013-07-13 12:34:24Z svenstaro $ +# $Id: PKGBUILD 102262 2013-12-07 10:36:46Z bpiotrowski $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Andrew Belitsky <belitsky.a@gmail.com> pkgbase=mygui pkgname=('mygui' 'mygui-docs') pkgver=3.2.0 -pkgrel=6 +pkgrel=9 pkgdesc="A multilayer and overlappable GUI System for OGRE" arch=('i686' 'x86_64') url="http://mygui.info/" @@ -37,25 +37,19 @@ build() { -DMYGUI_INSTALL_TOOLS=TRUE \ -DMYGUI_INSTALL_DOCS=TRUE \ -DMYGUI_INSTALL_MEDIA=TRUE \ - -DCMAKE_BUILD_TYPE=Release # set=Debug for debugging version + -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2/ \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=TRUE - # compile make - - # generate docs - if [[ $(which dot) && $(which doxygen) ]]; then - make api-docs 2>/dev/null - fi + make api-docs } package_mygui() { optdepends=('mygui-docs: documentation') - cd $srcdir/MyGUI_$pkgver + cd $srcdir/MyGUI_$pkgver/build - cd build - - # install the whole bunch make DESTDIR="$pkgdir" install # make demos work @@ -67,10 +61,8 @@ package_mygui-docs() { pkgdesc="Documentation for mygui" depends=() - cd $srcdir/MyGUI_$pkgver + cd $srcdir/MyGUI_$pkgver/build - cd build - # install docs install -d $pkgdir/usr/share/doc/ cp -r Docs/html $pkgdir/usr/share/doc/MYGUI |