gnu: grue-hunter: Adapt to gzip-1.8 update.

* gnu/packages/games.scm (grue-hunter)[arguments]: Change gunzip call to
gzip call, add `-d' to the gzip command.
This commit is contained in:
Efraim Flashner 2016-07-11 11:54:57 +03:00
parent 38e9373b0d
commit 5edf2f0561
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 John Darrington <jmd@gnu.org> ;;; Copyright © 2013 John Darrington <jmd@gnu.org>
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2016 David Thompson <dthompson2@worcester.edu> ;;; Copyright © 2014, 2015, 2016 David Thompson <dthompson2@worcester.edu>
;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com> ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
@ -20,7 +21,7 @@
;;; Copyright © 2016 Albin Söderqvist <albin@fripost.org> ;;; Copyright © 2016 Albin Söderqvist <albin@fripost.org>
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org> ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il"
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -2361,9 +2362,9 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
(perl (string-append (assoc-ref %build-inputs (perl (string-append (assoc-ref %build-inputs
"perl") "perl")
"/bin")) "/bin"))
(gunzip (string-append (assoc-ref %build-inputs (gzip (string-append (assoc-ref %build-inputs
"gzip") "gzip")
"/bin/gunzip")) "/bin/gzip"))
(tar (string-append (assoc-ref %build-inputs (tar (string-append (assoc-ref %build-inputs
"tar") "tar")
"/bin/tar")) "/bin/tar"))
@ -2373,7 +2374,7 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
(begin (begin
(mkdir out) (mkdir out)
(copy-file tarball "grue-hunter.tar.gz") (copy-file tarball "grue-hunter.tar.gz")
(zero? (system* gunzip "grue-hunter.tar.gz")) (zero? (system* gzip "-d" "grue-hunter.tar.gz"))
(zero? (system* tar "xvf" "grue-hunter.tar")) (zero? (system* tar "xvf" "grue-hunter.tar"))
(mkdir-p bin) (mkdir-p bin)