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.
This commit is contained in:
Ricardo Wurmus 2019-01-26 16:33:27 +01:00
parent a4aca0b88c
commit 48dbb1bf2b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 9 deletions

View File

@ -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"
(invoke "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"))))))))
(assoc-ref outputs "out")))))
(add-before 'install 'install-man-pages
(lambda _ (invoke "make" "install.man"))))))
(inputs `(("libx11" ,libx11)
("libxext" ,libxext)
("libxpm" ,libxpm)))