gnu: red-eclipse: Add bash-minimal to inputs.

* gnu/packages/games.scm (red-eclipse)
[inputs]: Add bash-minimal.
[arguments]: Delete trailing #t.

Change-Id: I489ff00a0f5eb08ecbf1637076f02ae642341108
This commit is contained in:
Maxim Cournoyer 2023-10-20 00:47:12 -04:00 committed by Ludovic Courtès
parent 587a5dddc1
commit 5c175312f5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5482,8 +5482,7 @@ (define-public red-eclipse
(("data = \"data\"") (("data = \"data\"")
(string-append "data = \"" (string-append "data = \""
(assoc-ref outputs "out") (assoc-ref outputs "out")
"/share/redeclipse/data\""))) "/share/redeclipse/data\"")))))
#t))
(delete 'configure) ; no configure script (delete 'configure) ; no configure script
(add-after 'set-paths 'set-sdl-paths (add-after 'set-paths 'set-sdl-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
@ -5502,8 +5501,7 @@ (define-public red-eclipse
(string-append out "/share/redeclipse/data")) (string-append out "/share/redeclipse/data"))
(mkdir-p (string-append out "/lib/redeclipse")) (mkdir-p (string-append out "/lib/redeclipse"))
(symlink (string-append out "/share/redeclipse/data") (symlink (string-append out "/share/redeclipse/data")
(string-append out "/lib/redeclipse/data"))) (string-append out "/lib/redeclipse/data")))))
#t))
(add-after 'copy-data 'wrap-program (add-after 'copy-data 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -5532,12 +5530,11 @@ (define-public red-eclipse
(string-append out) (string-append out)
(string-append bin)))) (string-append bin))))
(chmod "redeclipse_linux" #o555) (chmod "redeclipse_linux" #o555)
(chmod "redeclipse_server_linux" #o555))) (chmod "redeclipse_server_linux" #o555))))))))
#t)))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs
(list curl freetype glu (list bash-minimal curl freetype glu
(sdl-union (list sdl2 sdl2-image sdl2-mixer)))) (sdl-union (list sdl2 sdl2-image sdl2-mixer))))
(home-page "https://redeclipse.net/") (home-page "https://redeclipse.net/")
(synopsis "Arena shooter derived from the Cube 2 engine") (synopsis "Arena shooter derived from the Cube 2 engine")