gnu: premake@5: Update to 5.0.0-alpha15.

* gnu/packages/build-tools.scm (premake5): Update to 5.0.0-alpha15.
[arguments]: Modify ‘enter-source’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-07-01 00:53:28 +02:00
parent ce2603bd1d
commit 7c475372d2
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -259,7 +259,7 @@ (define-public premake4
(define-public premake5 (define-public premake5
(package (package
(inherit premake4) (inherit premake4)
(version "5.0.0-alpha14") (version "5.0.0-alpha15")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/premake/premake-core/" (uri (string-append "https://github.com/premake/premake-core/"
@ -267,11 +267,13 @@ (define-public premake5
"/premake-" version "-src.zip")) "/premake-" version "-src.zip"))
(sha256 (sha256
(base32 (base32
"0236s7bjvxf7x1l5faywmfzjywflpx42ngyhkn0mqqjnh54a97vw")))) "0lyxfyqxyhjqsb3kmx1fyrxinb26i68hb7w7rg8lajczrgkmc3w8"))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments premake4) (substitute-keyword-arguments (package-arguments premake4)
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases `(modify-phases ,phases
(replace 'enter-source
(lambda _ (chdir "build/gmake2.unix") #t))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(install-file "../../bin/release/premake5" (install-file "../../bin/release/premake5"