stockfish: update to 12
This commit is contained in:
parent
2e5a8f9c8f
commit
0463275b3d
1 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'stockfish'
|
# Template file for 'stockfish'
|
||||||
pkgname=stockfish
|
pkgname=stockfish
|
||||||
version=11
|
version=12
|
||||||
revision=2
|
revision=1
|
||||||
|
_net_file=nn-82215d0fd0df.nnue
|
||||||
wrksrc="Stockfish-sf_${version}"
|
wrksrc="Stockfish-sf_${version}"
|
||||||
build_wrksrc=src
|
build_wrksrc=src
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
@ -11,8 +12,11 @@ short_desc="Free UCI chess engine derived from Glaurung"
|
||||||
maintainer="cipr3s <cipr3s@gmx.com>"
|
maintainer="cipr3s <cipr3s@gmx.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://stockfishchess.org/"
|
homepage="http://stockfishchess.org/"
|
||||||
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz"
|
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz
|
||||||
checksum=802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199
|
https://tests.stockfishchess.org/api/nn/${_net_file}"
|
||||||
|
checksum="d1ec11d1cb8dfc5b33bcd6ec89ed0bafb3951cc1690851448a2696caa2022899
|
||||||
|
82215d0fd0df3cde17fc47ac024c5b5736823ec390200abdd705c44660c69ee4"
|
||||||
|
skip_extraction="${_net_file}"
|
||||||
|
|
||||||
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
|
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
|
||||||
|
|
||||||
|
@ -31,6 +35,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
LDFLAGS+=" -latomic"
|
LDFLAGS+=" -latomic"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file} ./src
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin stockfish
|
vbin stockfish
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue