gnu: freedoom: Don't use unstable tarball.

* gnu/packages/games.scm (freedoom)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-29 00:39:58 +01:00
parent 0922354d6a
commit 7c8ed74516
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -446,14 +446,15 @@ (define-public freedoom
(package (package
(name "freedoom") (name "freedoom")
(version "0.11.3") (version "0.11.3")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/" name "/" name (method git-fetch)
"/archive/v" version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/freedoom/freedoom.git")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"1bjijdfqhpazyifx1qda7scj7dry1azhjrnl8h8zn2vqfgdmlh0q")))) (sha256
(base32 "0k4dlgr82qk6i7dchp3nybq6awlfag2ivy3zzl1v6vhcrnbvssgl"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags `(,(string-append "prefix=" (assoc-ref %outputs "out"))) '(#:make-flags `(,(string-append "prefix=" (assoc-ref %outputs "out")))