From 48dbb1bf2b60d6025a544f4b59b4452088331e09 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 26 Jan 2019 16:33:27 +0100 Subject: gnu: xboing: Use INVOKE. * gnu/packages/games.scm (xboing)[arguments]: Use INVOKE in build phases. Do not replace "install" phase; add new "install-man-pages" phase instead. --- gnu/packages/games.scm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9c782303e2..6100ca79d7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1533,7 +1533,6 @@ fully interactive graphical interface and it can load and save games in the Portable Game Notation.") (license license:gpl3+))) - (define-public xboing (package (name "xboing") @@ -1564,14 +1563,11 @@ Portable Game Notation.") ;; FIXME: HIGH_SCORE_FILE should be set to somewhere writeable - (zero? (system* "xmkmf" "-a" - (string-append "-DProjectRoot=" - (assoc-ref outputs "out")))))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (and - (zero? (system* "make" "install.man")) - (zero? (system* "make" "install")))))))) + (invoke "xmkmf" "-a" + (string-append "-DProjectRoot=" + (assoc-ref outputs "out"))))) + (add-before 'install 'install-man-pages + (lambda _ (invoke "make" "install.man")))))) (inputs `(("libx11" ,libx11) ("libxext" ,libxext) ("libxpm" ,libxpm))) -- cgit v1.2.3