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:
parent
a4aca0b88c
commit
48dbb1bf2b
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue