22 lines
538 B
Plaintext
22 lines
538 B
Plaintext
# Description: OpenGL chess game
|
|
# URL: https://github.com/dreamchess/dreamchess
|
|
# Maintainer: Pedja, predivan at mts do rs
|
|
# Depends on: glew hicolor-icon-theme pugixml sdl2_image sdl2_mixer
|
|
|
|
name=dreamchess
|
|
version=0.3.0
|
|
release=1
|
|
source=(https://bitbucket.org/predivan/distfiles/downloads/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
mkdir build
|
|
cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release ../
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/doc
|
|
}
|