cruxports/dreamchess/Pkgfile

20 lines
585 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
2022-04-26 07:51:12 -04:00
# Depends on: glew sdl2_image sdl2_mixer
2022-02-05 15:39:19 -05:00
# 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
}