gnu: freeorion: Don't use unstable tarball.

* gnu/packages/games.scm (freeorion)[source]: Use GIT-FETCH and
GIT-FILE-NAME.  Remove explicit #t snippet return value.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-03 17:15:19 +02:00
parent d9ac466b7f
commit d536083f33
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -10032,18 +10032,18 @@ (define-public freeorion
(version "0.4.10")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/freeorion/freeorion/releases/"
"download/v" version "/FreeOrion_v" version
"_2020-07-10.f3d403e_Source.tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/freeorion/freeorion")
(commit (string-append "v" version))))
(sha256
(base32 "12xspixrkx6mmmsdqjha0hg02r4y73pk229l0wjq9s0yp8nb8ap7"))
(base32 "1hq212pbsqpgn193wkvcl45m8bjvx730486xkffivylxgbiyvv2c"))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
;; There are some bundled fonts.
(for-each delete-file-recursively '("default/data/fonts"))
#t))))
(for-each delete-file-recursively '("default/data/fonts"))))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f ;no test