guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: starfighter: Update to 2.0.0.3.


From: guix-commits
Subject: 01/01: gnu: starfighter: Update to 2.0.0.3.
Date: Wed, 24 Jul 2019 21:48:50 -0400 (EDT)

kkebreau pushed a commit to branch master
in repository guix.

commit 8172ab2dde425cbd7fb6e633ceff634990acbefb
Author: Kei Kebreau <address@hidden>
Date:   Wed Jul 24 21:44:44 2019 -0400

    gnu: starfighter: Update to 2.0.0.3.
    
    * gnu/packages/games.scm (starfighter): Update to 2.0.0.3.
    [source]: Use url-fetch and remove 'file-name' field.
    [native-inputs]: Remove autoconf and automake.
---
 gnu/packages/games.scm | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 266a2d3..a17ac97 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3264,26 +3264,19 @@ tactics.")
 (define-public starfighter
   (package
     (name "starfighter")
-    (version "2.0.0.2")
-    ;; As recommended by the upstream maintainer, use the git source code
-    ;; instead of the released source tarball until missing files in the 
tarball
-    ;; are added.  The 'url-fetch' method may be appropriate again after the
-    ;; next update.  See https://github.com/pr-starfighter/starfighter/issues/1
-    ;; for more details.
+    (version "2.0.0.3")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/pr-starfighter/starfighter";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/pr-starfighter/starfighter/releases";
+                    "/download/v" version "/starfighter-"
+                    (version-major+minor version) "-src.tar.gz"))
               (sha256
                (base32
-                "0p81ywgm2dxjbpmbsgx4f2d83sy6lv3hinrr1vzprkf9viidqnd2"))))
+                "13vi5kh9ahws4f52421cbyw0jn7pmbnld358lqfmr6flql7ilj3b"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)))
     (inputs
      `(("pango" ,pango)
        ("sdl2" ,sdl2)



reply via email to

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