me
/
guix
Archived
1
0
Fork 0

gnu: openttd-openmsx: Use new package style.

* gnu/packages/games.scm (openttd-openmsx)[arguments]: Convert to list of
G-Expressions.
[native-inputs]: Drop labels.
master
Liliana Marie Prikler 2022-04-16 00:51:49 +02:00
parent 4df82befc9
commit 5376f3d058
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 21 additions and 20 deletions

View File

@ -4413,27 +4413,28 @@ the original Transport Tycoon Deluxe.")
"0h583d8fxy78kc3jvpp78r76a48qhxrhm4q7jbnj74aw0kwrcl8g")))) "0h583d8fxy78kc3jvpp78r76a48qhxrhm4q7jbnj74aw0kwrcl8g"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("grfcodec" ,grfcodec) (list grfcodec
; Scripts are Python3 compatible, but call the interpreter as ;; Scripts are Python3 compatible, but call the interpreter as
; python instead of python3. ;; python instead of python3.
("python" ,python-wrapper) python-wrapper
("tar" ,tar))) tar))
(arguments (arguments
`(#:make-flags (list
(list (string-append "DIR_NAME=openmsx") #:make-flags
(string-append "TAR=" #~(list (string-append "DIR_NAME=openmsx")
(search-input-file %build-inputs "/bin/tar"))) (string-append "TAR="
;; The check phase only verifies md5sums, see openttd-opengfx. (search-input-file %build-inputs "/bin/tar")))
#:tests? #f ;; The check phase only verifies md5sums, see openttd-opengfx.
#:phases #:tests? #f
(modify-phases %standard-phases #:phases
(delete 'configure) #~(modify-phases %standard-phases
(replace 'install (delete 'configure)
(lambda* (#:key outputs #:allow-other-keys) (replace 'install
(copy-recursively "openmsx" (lambda* (#:key outputs #:allow-other-keys)
(string-append (assoc-ref outputs "out") (copy-recursively "openmsx"
"/share/games/openttd/baseset" (string-append (assoc-ref outputs "out")
"/openmsx"))))))) "/share/games/openttd/baseset"
"/openmsx")))))))
(home-page "http://dev.openttdcoop.org/projects/openmsx") (home-page "http://dev.openttdcoop.org/projects/openmsx")
(synopsis "Music set for OpenTTD") (synopsis "Music set for OpenTTD")
(description "OpenMSX is a music set for OpenTTD which makes it possible (description "OpenMSX is a music set for OpenTTD which makes it possible