gnu: openttd-openmsx: Use new package style.

* gnu/packages/games.scm (openttd-openmsx)[arguments]: Convert to list of
G-Expressions.
[native-inputs]: Drop labels.
This commit is contained in:
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

View file

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