gnu: allegro: Update source uris.

* gnu/packages/game-development.scm (allegro@5.2, allegro@5.0,
allegro@4.4)[source]: Update source uris.
This commit is contained in:
Efraim Flashner 2017-06-03 23:33:27 +03:00
parent fb03f44bb1
commit 3a12e21c1c
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -483,8 +483,9 @@ (define-public allegro-4
(version "4.4.2")
(source (origin
(method url-fetch)
(uri (string-append "http://download.gna.org/allegro/allegro/"
version "/allegro-" version ".tar.gz"))
(uri (string-append "https://github.com/liballeg/allegro5/"
"releases/download/" version "/allegro-"
version ".tar.gz"))
(sha256
(base32
"1p0ghkmpc4kwij1z9rzxfv7adnpy4ayi0ifahlns1bdzgmbyf88v"))))
@ -518,11 +519,15 @@ (define-public allegro-4
(define-public allegro
(package
(name "allegro")
(version "5.2.0")
(version "5.2.0.0")
(source (origin
(method url-fetch)
(uri (string-append "http://download.gna.org/allegro/allegro/"
version "/allegro-" version ".tar.gz"))
(uri (string-append "https://github.com/liballeg/allegro5/releases"
"/download/" version "/allegro-"
(if (equal? "0" (string-take-right version 1))
(string-drop-right version 2)
version)
".tar.gz"))
(sha256
(base32
"1mwzgzc4nb5k5zkbq7yrc6hg63yxq3wk69lmjag1h19x8b6njnmg"))))
@ -561,8 +566,12 @@ (define-public allegro-5.0
(version "5.0.11")
(source (origin
(method url-fetch)
(uri (string-append "http://download.gna.org/allegro/allegro/"
version "/allegro-" version ".tar.gz"))
(uri (string-append "https://github.com/liballeg/allegro5/releases"
"/download/" version "/allegro-"
(if (equal? "0" (string-take-right version 1))
(string-drop-right version 2)
version)
".tar.gz"))
(sha256
(base32
"0cd51qrh97jrr0xdmnivqgwljpmizg8pixsgvc4blqqlaz4i9zj9"))))))