diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-03-29 02:37:25 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-03-29 04:23:02 +0100 |
commit | d8f4aefed9b687dd2282d76c0e75e31a8895934b (patch) | |
tree | 1f7d556c4eac67efb23783a9662795c952c627af | |
parent | c41b2ffbf2ca235e94ae96bdac99222f55df5858 (diff) | |
download | guix-patches-d8f4aefed9b687dd2282d76c0e75e31a8895934b.tar guix-patches-d8f4aefed9b687dd2282d76c0e75e31a8895934b.tar.gz |
gnu: warzone2100: Update source URI.
* gnu/packages/games.scm (warzone2100)[source]: Update URI and don't
hard-code NAME.
-rw-r--r-- | gnu/packages/games.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 6513c609cf..a831f41839 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3203,14 +3203,15 @@ fullscreen, use F5 or Alt+Enter.") (package (name "warzone2100") (version "3.2.3") - (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/" name - "/releases/" version "/" name "-" version - ".tar.xz")) - (sha256 - (base32 - "10kmpr4cby95zwqsl1zwx95d9achli6khq7flv6xmrq30a39xazw")))) + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/warzone2100/archives/" + "unsupported/Warzone2100-" + (version-major+minor version) "/" version + "/warzone2100-" version ".tar.xz")) + (sha256 + (base32 "10kmpr4cby95zwqsl1zwx95d9achli6khq7flv6xmrq30a39xazw")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-distributor=Guix") |