aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-29 01:42:31 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-03-29 01:44:09 +0100
commit2e5a0690bb5585d0f240bff1df09db1c46a3d000 (patch)
treeda4e53ede22bee93855217913c841217a2d1222c
parent071782762a34a0714a66b935406ffa879b9836dc (diff)
downloadpatches-2e5a0690bb5585d0f240bff1df09db1c46a3d000.tar
patches-2e5a0690bb5585d0f240bff1df09db1c46a3d000.tar.gz
gnu: openrct2: Don't use unstable tarball.
* gnu/packages/games.scm (openrct2)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/games.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5a40ae349a..35e4e07875 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2693,12 +2693,13 @@ Transport Tycoon Deluxe.")
(version "0.2.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/OpenRCT2/OpenRCT2/archive/v"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenRCT2/OpenRCT2.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0yxaphgfq85piaacnnfy6lrvmnqmfj1891rxlkl5ndngq0zh0ysb"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ (base32 "1bfqmb6cbmsjcvj77vppy5lw1m4lkvxd1w3f218ah4788xnkysq2"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DDOWNLOAD_OBJECTS=OFF"