mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
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
1 changed files with 5 additions and 9 deletions
|
@ -1533,7 +1533,6 @@ (define-public xboard
|
|||
Portable Game Notation.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
|
||||
(define-public xboing
|
||||
(package
|
||||
(name "xboing")
|
||||
|
@ -1564,14 +1563,11 @@ (define-public xboing
|
|||
|
||||
;; 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)))
|
||||
|
|
Loading…
Reference in a new issue