diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-21 13:30:29 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2022-02-21 14:34:28 -0600 |
commit | a5039932aeedf8ef448e62c0855d61a6f2a5a4cd (patch) | |
tree | 09dcfc49380ff4f1eb4ee458efe4ea505c2b91e2 /games/stockfish | |
parent | 441a125d5d0fcb85d211a8987e5f7775c1be076b (diff) |
games/stockfish: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/stockfish')
-rw-r--r-- | games/stockfish/stockfish.SlackBuild | 11 | ||||
-rw-r--r-- | games/stockfish/stockfish.info | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/games/stockfish/stockfish.SlackBuild b/games/stockfish/stockfish.SlackBuild index a60408094625..2158a8869014 100644 --- a/games/stockfish/stockfish.SlackBuild +++ b/games/stockfish/stockfish.SlackBuild @@ -22,6 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220221 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix incorrect github download filename. +# - binary in /usr/games. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=stockfish @@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -70,7 +71,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf Stockfish-sf_$VERSION -tar vxf $CWD/sf_$VERSION.tar.gz +tar vxf $CWD/Stockfish-sf_$VERSION.tar.gz cp $CWD/nn-13406b1dcbe0.nnue Stockfish-sf_$VERSION/src/ cd Stockfish-sf_$VERSION @@ -93,7 +94,7 @@ case $ARCH in *) make build ARCH=general-32 COMP=gcc;; esac -make PREFIX="$PKG/usr" install +make PREFIX="$PKG/usr" BINDIR=$PKG/usr/games install cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/games/stockfish/stockfish.info b/games/stockfish/stockfish.info index 04e9966ff078..6aeb1a5c6c9f 100644 --- a/games/stockfish/stockfish.info +++ b/games/stockfish/stockfish.info @@ -1,10 +1,10 @@ PRGNAM="stockfish" VERSION="14.1" HOMEPAGE="https://stockfishchess.org/" -DOWNLOAD="https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_14.1.tar.gz \ - https://tests.stockfishchess.org/api/nn/nn-13406b1dcbe0.nnue" +DOWNLOAD="https://github.com/official-stockfish/Stockfish/archive/sf_14.1/Stockfish-sf_14.1.tar.gz \ + https://tests.stockfishchess.org/api/nn/nn-13406b1dcbe0.nnue" MD5SUM="2280661e63d69386c882c5ccc0585fcb \ - 895f02663c92cb8f093ea5c74208c94a" + 895f02663c92cb8f093ea5c74208c94a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |