guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: warzone2100: Update source URI.


From: guix-commits
Subject: 03/05: gnu: warzone2100: Update source URI.
Date: Thu, 28 Mar 2019 22:23:33 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit d8f4aefed9b687dd2282d76c0e75e31a8895934b
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Mar 29 02:37:25 2019 +0100

    gnu: warzone2100: Update source URI.
    
    * gnu/packages/games.scm (warzone2100)[source]: Update URI and don't
    hard-code NAME.
---
 gnu/packages/games.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 6513c60..a831f41 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]