From ad871dae88869616b2f44f0f9526b3046ebf7c47 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 7 Aug 2022 02:00:04 +0200 Subject: gnu: xonotic: Update to 0.8.5. * gnu/packages/games.scm (xonotic): Update to 0.8.5. [source]: Use HTTPS. [arguments]: Don't explicitly return #t from phases. --- gnu/packages/games.scm | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 99eccca04d..7771bd15cc 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7801,16 +7801,15 @@ quotation from a collection of quotes.") (define-public xonotic (package (name "xonotic") - (version "0.8.2") + (version "0.8.5") (source (origin (method url-fetch) - (uri (string-append "http://dl.xonotic.org/xonotic-" + (uri (string-append "https://dl.xonotic.org/xonotic-" version "-source.zip")) (file-name (string-append name "-" version ".zip")) (sha256 - (base32 - "0axxw04fyz6jlfqd0kp7hdrqa0li31sx1pbipf2j5qp9wvqicsay")))) + (base32 "0pgahai0gk8bjmvkwx948bl50l9f9dhmjzwffl4vyldibajipa51")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "--prefix=" @@ -7894,8 +7893,7 @@ quotation from a collection of quotes.") Icon=xonotic~@ Categories=Game~@ Type=Application~%" - output))) - #t))) + output)))))) (add-after 'install-desktop-entry 'install-icons (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -7926,15 +7924,13 @@ quotation from a collection of quotes.") "/bin/xonotic-sdl") ;; Provide a default xonotic executable, defaulting to SDL. (symlink (string-append out "/bin/xonotic-sdl") - (string-append out "/bin/xonotic")) - #t))) + (string-append out "/bin/xonotic"))))) (add-after 'install-binaries 'install-data (lambda* (#:key outputs inputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (data (assoc-ref inputs "xonotic-data"))) (symlink (string-append data "/share/xonotic") - (string-append out "/share/xonotic")) - #t))) + (string-append out "/share/xonotic"))))) (add-after 'install-binaries 'wrap-binaries (lambda* (#:key outputs inputs #:allow-other-keys) ;; Curl and libvorbis need to be wrapped so that we get @@ -7957,8 +7953,7 @@ quotation from a collection of quotes.") (,(string-append curl "/lib:" vorbis "/lib")))) (wrap-program bin-dedicated `("LD_LIBRARY_PATH" ":" prefix - (,(string-append curl "/lib:" vorbis "/lib")))) - #t)))))) + (,(string-append curl "/lib:" vorbis "/lib")))))))))) (inputs `(("xonotic-data" ,xonotic-data) ("alsa-lib" ,alsa-lib) -- cgit v1.2.3