cruxports/dreamchess/Pkgfile

20 lines
599 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# 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: cmake libsdl2 sdl2_mixer sdl2_image glew
# 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
}