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.")
|
Portable Game Notation.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
|
||||||
(define-public xboing
|
(define-public xboing
|
||||||
(package
|
(package
|
||||||
(name "xboing")
|
(name "xboing")
|
||||||
|
@ -1564,14 +1563,11 @@ Portable Game Notation.")
|
||||||
|
|
||||||
;; FIXME: HIGH_SCORE_FILE should be set to somewhere writeable
|
;; FIXME: HIGH_SCORE_FILE should be set to somewhere writeable
|
||||||
|
|
||||||
(zero? (system* "xmkmf" "-a"
|
(invoke "xmkmf" "-a"
|
||||||
(string-append "-DProjectRoot="
|
(string-append "-DProjectRoot="
|
||||||
(assoc-ref outputs "out"))))))
|
(assoc-ref outputs "out")))))
|
||||||
(replace 'install
|
(add-before 'install 'install-man-pages
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _ (invoke "make" "install.man"))))))
|
||||||
(and
|
|
||||||
(zero? (system* "make" "install.man"))
|
|
||||||
(zero? (system* "make" "install"))))))))
|
|
||||||
(inputs `(("libx11" ,libx11)
|
(inputs `(("libx11" ,libx11)
|
||||||
("libxext" ,libxext)
|
("libxext" ,libxext)
|
||||||
("libxpm" ,libxpm)))
|
("libxpm" ,libxpm)))
|
||||||
|
|
Loading…
Reference in New Issue