gnu: 0ad: Use INVOKE.

* gnu/packages/games.scm (0ad)[arguments]: Use INVOKE.
This commit is contained in:
Ricardo Wurmus 2019-03-26 20:21:04 +01:00
parent c771b799bd
commit 7b67bb1fab
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4716,11 +4716,11 @@ (define-public 0ad
(setenv "JOBS" (string-append "-j" jobs)) (setenv "JOBS" (string-append "-j" jobs))
(setenv "CC" "gcc") (setenv "CC" "gcc")
(with-directory-excursion "build/workspaces" (with-directory-excursion "build/workspaces"
(zero? (system* "./update-workspaces.sh" (invoke "./update-workspaces.sh"
(string-append "--libdir=" lib) (string-append "--libdir=" lib)
(string-append "--datadir=" data) (string-append "--datadir=" data)
;; TODO: "--with-system-nvtt" ;; TODO: "--with-system-nvtt"
"--with-system-mozjs38")))))) "--with-system-mozjs38")))))
(delete 'check) (delete 'check)
(replace 'install (replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
@ -4754,7 +4754,7 @@ (define-public 0ad
(add-after 'install 'check (add-after 'install 'check
(lambda _ (lambda _
(with-directory-excursion "system" (with-directory-excursion "system"
(zero? (system* "./test")))))))) (invoke "./test")))))))
(home-page "https://play0ad.com") (home-page "https://play0ad.com")
(synopsis "3D real-time strategy game of ancient warfare") (synopsis "3D real-time strategy game of ancient warfare")
(description "0 A.D. is a real-time strategy (RTS) game of ancient (description "0 A.D. is a real-time strategy (RTS) game of ancient