gnu: emacs-chess: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-chess)[arguments]: Use
G-expressions.  Remove trailing #T.
This commit is contained in:
Nicolas Goaziou 2022-02-18 21:31:40 +01:00
parent 256cdde7ad
commit b618569d6a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8434,16 +8434,15 @@ (define-public emacs-chess
(base32 "1a4iwjdh6k348df6qywjws9z9f862d62m0b2sz57z4xhywiyxpr7"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'install-pieces
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(pieces
(string-append out "/share/emacs/site-lisp/pieces")))
(mkdir-p pieces)
(copy-recursively "pieces" pieces)
#t))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-pieces
(lambda _
(let ((pieces
(string-append #$output "/share/emacs/site-lisp/pieces")))
(mkdir-p pieces)
(copy-recursively "pieces" pieces)))))))
(home-page "https://elpa.gnu.org/packages/chess.html")
(synopsis "Play chess in GNU Emacs")
(description