gnu: openttd-opensfx: Use new package style.
* gnu/packages/games.scm (openttd-opensfx)[arguments]: Convert to list of G-Expressions. Drop trailing ‘#t’s. [native-inputs]: Drop labels.
This commit is contained in:
parent
2bae85d39b
commit
4df82befc9
1 changed files with 27 additions and 27 deletions
|
@ -4363,25 +4363,25 @@ OpenGFX provides you with...
|
|||
"0aym026lg0r7dp3jxxs9c0rj8lwy1fz3v9hmk3mml6sycsg3fv42"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("catcodec" ,catcodec)
|
||||
("python" ,python)
|
||||
("tar" ,tar)))
|
||||
(list catcodec
|
||||
python
|
||||
tar))
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "DIR_NAME=opensfx")
|
||||
(list
|
||||
#:make-flags
|
||||
#~(list (string-append "DIR_NAME=opensfx")
|
||||
(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
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'make-reproducible
|
||||
(lambda _
|
||||
;; Remove the time dependency of the installed tarball by setting
|
||||
;; the modification times if its members to 0.
|
||||
(substitute* "scripts/Makefile.def"
|
||||
(("-cf") " --mtime=@0 -cf"))
|
||||
#t))
|
||||
(("-cf") " --mtime=@0 -cf"))))
|
||||
(delete 'configure)
|
||||
(add-before 'build 'prebuild
|
||||
(lambda _ (invoke "make" "opensfx.cat")))
|
||||
|
|
Reference in a new issue