You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
601 B

# Author: mosra <mosra@centrum.cz>
pkgname=magnum
pkgver=dev
pkgrel=1
pkgdesc="OpenGL 3 graphics engine"
arch=('i686' 'x86_64')
url="http://mosra.cz/blog/"
license=('LGPLv3')
depends=('corrade' 'glew')
makedepends=('cmake' 'qt')
options=(!strip)
build() {
mkdir -p "$startdir/build"
cd "$startdir/build/"
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=TRUE
make
}
check() {
cd "$startdir/build"
ctest -E "ObjectTest|SceneTest" # fix me!
}
package() {
cd "$startdir/build"
make DESTDIR="$pkgdir/" install
}