mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: armagetronad: Update to 0.2.9.2.3.
* gnu/packages/games.scm (armagetronad): Update to 0.2.9.2.3. [arguments]: Add a new 'omit-broken-symlinks phase. Change-Id: I2283e27facdccfb28034434253a2a3b079ceb4c4
This commit is contained in:
parent
6078dd42d2
commit
ee64bcfb79
1 changed files with 13 additions and 4 deletions
|
@ -488,19 +488,28 @@ (define-public anarch
|
||||||
(define-public armagetronad
|
(define-public armagetronad
|
||||||
(package
|
(package
|
||||||
(name "armagetronad")
|
(name "armagetronad")
|
||||||
(version "0.2.9.1.1")
|
(version "0.2.9.2.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/armagetronad/stable/"
|
(uri (string-append "mirror://sourceforge/armagetronad/stable/"
|
||||||
version "/armagetronad-" version ".tbz"))
|
version "/armagetronad-" version ".tbz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0cpxvzbssyf45fmanp1d6l992wln8zkjx4z2flgx27fg1rqdw5zn"))))
|
"0a6rlp2lj5bp7pg1yf8brjyb3mw7nqp3amj19wvz3xni21bbc31k"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:configure-flags
|
(list #:configure-flags
|
||||||
#~(list "--disable-games" ;don't nest everything in ‘games/’
|
#~(list "--disable-games" ;don't nest everything in ‘games/’
|
||||||
"--disable-uninstall"))) ;pointless (and broken) in Guix
|
"--disable-uninstall") ;pointless (and broken) in Guix
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'omit-broken-symlinks
|
||||||
|
;; v0.2.9.2.0 added relative_path() which I think broke
|
||||||
|
;; install_link(). It now creates a broken armagetronad-master
|
||||||
|
;; symlink that causes the 'validate-runpath phase to fail.
|
||||||
|
(lambda _
|
||||||
|
(substitute* "batch/sysinstall.in"
|
||||||
|
(("^install_link .*BINDIR.*") "")))))))
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(inputs (list libxml2
|
(inputs (list libxml2
|
||||||
(sdl-union (list sdl sdl-image sdl-mixer))
|
(sdl-union (list sdl sdl-image sdl-mixer))
|
||||||
|
|
Loading…
Reference in a new issue