makedeb
A library for creating Graphical User Interfaces for games and 3D applications
Viewing /PKGBUILD
.
Click here to go back to the Git tree for mygui-ogre.
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=mygui-ogre
pkgver=3.4.3
pkgrel=1
pkgdesc="A library for creating Graphical User Interfaces for games and 3D applications"
arch=('i686' 'amd64')
url="http://mygui.info/"
license=('LGPL')
depends=('ogre' 'libois-dev')
makedepends=('cmake')
provides=('mygui')
source=("https://github.com/MyGUI/mygui/archive/MyGUI${pkgver}.tar.gz")
sha256sums=('33c91b531993047e77cace36d6fea73634b8c17bd0ed193d4cd12ac7c6328abd')
prepare() {
mkdir -p mygui-MyGUI${pkgver}/build
}
build() {
cd mygui-MyGUI${pkgver}/build
# generate CMake Makefile
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMYGUI_BUILD_DEMOS:BOOL=OFF \
-DMYGUI_BUILD_DOCS:BOOL=OFF \
-DMYGUI_BUILD_TEST_APP:BOOL=OFF \
-DMYGUI_BUILD_TOOLS:BOOL=OFF \
-DMYGUI_BUILD_PLUGINS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
}
package() {
cd mygui-MyGUI${pkgver}/build
make DESTDIR=${pkgdir} install
}