cruxports/dreamchess/Pkgfile

20 lines
585 B
Plaintext

# Description: OpenGL chess interface with support for various engines
# URL: http://github.com/dreamchess/dreamchess
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: glew sdl2_image sdl2_mixer
# Optional: stockfish fairymax gnuchess
name=dreamchess
version=0.3.0
release=1
source=(https://github.com/dreamchess/dreamchess/archive/$version/$name-$version.tar.gz)
build() {
cd $name-*
mkdir bld && cd bld
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
}