gnu: grfcodec: Fix source URL.

* gnu/packages/game-development.scm (grfcodec)[source]: Use HTTPS for URL.
Re-indent package.
This commit is contained in:
Nicolas Goaziou 2020-06-10 17:33:58 +02:00
parent c0f297e85f
commit 127c7fba1a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -191,39 +191,39 @@ DeuTex has functions such as merging wads, etc.")
(package (package
(name "grfcodec") (name "grfcodec")
(version "6.0.6") (version "6.0.6")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "http://binaries.openttd.org/extra/" (method url-fetch)
name "/" version "/" name "-" version (uri (string-append "https://binaries.openttd.org/extra/"
"-source.tar.xz")) name "/" version "/" name "-" version
(sha256 "-source.tar.xz"))
(base32 (sha256
"08admgnpqcsifpicbm56apgv360fxapqpbbsp10qyk8i22w1ivsk")))) (base32 "08admgnpqcsifpicbm56apgv360fxapqpbbsp10qyk8i22w1ivsk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no check target '(#:tests? #f ;no check target
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) ; no configure script (delete 'configure) ;no configure script
(replace 'install ; no install target (replace 'install ;no install target
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")) (bin (string-append out "/bin"))
(doc (string-append out "/share/doc")) (doc (string-append out "/share/doc"))
(man (string-append out "/share/man/man1"))) (man (string-append out "/share/man/man1")))
(for-each (lambda (file) (for-each (lambda (file)
(install-file file bin)) (install-file file bin))
'("grfcodec" "grfid" "grfstrip" "nforenum")) '("grfcodec" "grfid" "grfstrip" "nforenum"))
(install-file "COPYING" doc) (install-file "COPYING" doc)
(with-directory-excursion "docs" (with-directory-excursion "docs"
(for-each (lambda (file) (for-each (lambda (file)
(install-file (string-append file ".txt") doc)) (install-file (string-append file ".txt") doc))
'("auto_correct" "commands" "grf" "grfcodec" "grftut" '("auto_correct" "commands" "grf" "grfcodec" "grftut"
"readme" "readme.rpn")) "readme" "readme.rpn"))
(for-each (lambda (file) (for-each (lambda (file)
(install-file file man)) (install-file file man))
(find-files "." "\\.1")))) (find-files "." "\\.1"))))
#t))))) #t)))))
(inputs (inputs
`(("boost" ,boost) `(("boost" ,boost)
("libpng" ,libpng) ("libpng" ,libpng)