[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: moonfish: Update to 0-2.fb2cb4f.
From: |
guix-commits |
Subject: |
02/08: gnu: moonfish: Update to 0-2.fb2cb4f. |
Date: |
Wed, 27 Mar 2024 08:47:30 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 2ba3bd786e37115facd6e59357dc2123df973fa8
Author: zamfofex <zamfofex@twdb.moe>
AuthorDate: Tue Mar 26 17:01:04 2024 -0300
gnu: moonfish: Update to 0-2.fb2cb4f.
* gnu/packages/games.scm (moonfish): Update to 0-2.fb2cb4f.
[arguments]: Use upstream's makefile for building and installing.
Install tools into the "out" output instead of the "tools" output.
[outputs]: Remove "tools".
Change-Id: I0f098b02633d397fe1fef67863c3cd5b1db19214
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/games.scm | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f150c33e83..13976666e6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10618,8 +10618,8 @@ ChessX.")
(license license:gpl3+))))
(define-public moonfish
- (let ((commit "4f8829009e8c26e6a878261e0bc4c7e7617ef6b6")
- (revision "1"))
+ (let ((commit "fb2cb4f53876b1b0c6060464e0dd5a05ab00e502")
+ (revision "2"))
(package
(name "moonfish")
(version (git-version "0" revision commit))
@@ -10630,34 +10630,17 @@ ChessX.")
(commit commit)))
(sha256
(base32
- "1ksg42x9cyn3pbfryy9raqb355k47cqcisascpy157c3cgdr2z60"))
+ "1rbhdahp0s2qm1zi7lpr0bb6zq02y76fc9d9nc2k5n03zh2as97i"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
(list
- #:make-flags
- #~(list (string-append "CC=" #$(cc-for-target)))
- #:tests? #f ;no check target
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure) ;no configure script
- (replace 'install ;no 'install' target
- (lambda _
- (let* ((out-bin (string-append #$output "/bin"))
- (tools-bin (string-append #$output:tools "/bin"))
- (tool (string-append tools-bin "/moonfish-")))
- (mkdir-p out-bin)
- (mkdir-p tools-bin)
- (copy-file "moonfish"
- (string-append out-bin "/moonfish"))
- (copy-file "play"
- (string-append tool "play"))
- (copy-file "lichess"
- (string-append tool "lichess"))
- (copy-file "analyse"
- (string-append tool "analyse"))))))))
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:tests? #f ;no check target
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
(inputs (list bearssl cjson))
- (outputs '("out" "tools"))
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
- branch master updated (232796ce60 -> e9a547d2c5), guix-commits, 2024/03/27
- 03/08: gnu: moonfish: Improve description., guix-commits, 2024/03/27
- 02/08: gnu: moonfish: Update to 0-2.fb2cb4f.,
guix-commits <=
- 05/08: gnu: slock: Fix cross-compiling., guix-commits, 2024/03/27
- 04/08: gnu: icewm: Update to 3.4.6., guix-commits, 2024/03/27
- 07/08: gnu: endless-sky: Update to 0.10.6., guix-commits, 2024/03/27
- 01/08: gnu: diffoscope: Update to 261., guix-commits, 2024/03/27
- 06/08: gnu: libatasmart: Fix cross-compiling to riscv64-linux., guix-commits, 2024/03/27
- 08/08: gnu: wesnoth: Update to 1.18.0., guix-commits, 2024/03/27