gnu: emacs-chess: Use elpa-directory.

* gnu/packages/emacs-xyz.scm (emacs-chess)[arguments]<phases>: Use
elpa-directory.

Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
Nicolas Graves 2025-05-18 10:16:50 +02:00 committed by Liliana Marie Prikler
parent 0a09dfea37
commit a559a36b4d
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -13853,11 +13853,9 @@ board and goal value can be customized.")
#~(modify-phases %standard-phases
(add-after 'install 'install-pieces
(lambda _
(let ((pieces
(string-append #$output "/share/emacs/site-lisp/chess-"
#$version "/pieces")))
(mkdir-p pieces)
(copy-recursively "pieces" pieces)))))))
(copy-recursively
"pieces"
(string-append (elpa-directory #$output) "/pieces")))))))
(home-page "https://elpa.gnu.org/packages/chess.html")
(synopsis "Play chess in GNU Emacs")
(description