aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 453f732a5d..2744d46a9c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5193,13 +5193,16 @@ Strife, Chex Quest, and fan-created games like Harmony, Hacx and Freedoom.")
(package
(name "fortune-mod")
(version "2.4.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/shlomif/fortune-mod/"
- "archive/" name "-" version ".tar.gz"))
- (sha256
- (base32
- "1hnqpkassh7fwg2jgvybr8mw7vzfikbrhb5r22367ilfwxnl9yd2"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shlomif/fortune-mod")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ayicdqjm9vfngp89kjw778q6lnawgc08zgn5l8ld4zd7ip11s8c"))))
(build-system cmake-build-system)
(arguments
`(#:test-target "check"