gnu: godot: Update to 3.0.1.
* gnu/packages/game-development.scm (godot): Update to 3.0.1. [arguments]: End phases with #t and remove redundant MKDIR-P.
This commit is contained in:
		
							parent
							
								
									130acf72f7
								
							
						
					
					
						commit
						7da5db8e45
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
					@ -8,7 +8,7 @@
 | 
				
			||||||
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
					;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
				
			||||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
;;; Copyright © 2016, 2017 Julian Graham <joolean@gmail.com>
 | 
					;;; Copyright © 2016, 2017 Julian Graham <joolean@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
 | 
					;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
 | 
					;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 | 
					;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 | 
				
			||||||
| 
						 | 
					@ -1064,7 +1064,7 @@ games.")
 | 
				
			||||||
(define-public godot
 | 
					(define-public godot
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "godot")
 | 
					    (name "godot")
 | 
				
			||||||
    (version "3.0")
 | 
					    (version "3.0.1")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri
 | 
					              (uri
 | 
				
			||||||
| 
						 | 
					@ -1073,7 +1073,7 @@ games.")
 | 
				
			||||||
              (file-name (string-append name "-" version))
 | 
					              (file-name (string-append name "-" version))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1jhp269n1a7c663v2555444icbjwzscj4r8cq4rrrap7r7dr4hyc"))))
 | 
					                "0k8c12nzhl98i9il9s3awbwdamkrwxk0s47jr7n8a3z93rpszd2p"))))
 | 
				
			||||||
    (build-system scons-build-system)
 | 
					    (build-system scons-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:scons ,scons-python2
 | 
					     `(#:scons ,scons-python2
 | 
				
			||||||
| 
						 | 
					@ -1116,16 +1116,16 @@ games.")
 | 
				
			||||||
                 (if (file-exists? "godot.x11.tools.64")
 | 
					                 (if (file-exists? "godot.x11.tools.64")
 | 
				
			||||||
                     (rename-file "godot.x11.tools.64" "godot")
 | 
					                     (rename-file "godot.x11.tools.64" "godot")
 | 
				
			||||||
                     (rename-file "godot.x11.tools.32" "godot"))
 | 
					                     (rename-file "godot.x11.tools.32" "godot"))
 | 
				
			||||||
                 (install-file "godot" bin)))))
 | 
					                 (install-file "godot" bin))
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
         (add-after 'install 'install-godot-desktop
 | 
					         (add-after 'install 'install-godot-desktop
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((out (assoc-ref outputs "out"))
 | 
					             (let* ((out (assoc-ref outputs "out"))
 | 
				
			||||||
                    (desktop (string-append out "/share/applications"))
 | 
					                    (desktop (string-append out "/share/applications"))
 | 
				
			||||||
                    (icon-dir (string-append out "/share/pixmaps")))
 | 
					                    (icon-dir (string-append out "/share/pixmaps")))
 | 
				
			||||||
               (mkdir-p desktop)
 | 
					 | 
				
			||||||
               (mkdir-p icon-dir)
 | 
					 | 
				
			||||||
               (rename-file "icon.png" "godot.png")
 | 
					               (rename-file "icon.png" "godot.png")
 | 
				
			||||||
               (install-file "godot.png" icon-dir)
 | 
					               (install-file "godot.png" icon-dir)
 | 
				
			||||||
 | 
					               (mkdir-p desktop)
 | 
				
			||||||
               (with-output-to-file
 | 
					               (with-output-to-file
 | 
				
			||||||
                   (string-append desktop "/godot.desktop")
 | 
					                   (string-append desktop "/godot.desktop")
 | 
				
			||||||
                 (lambda _
 | 
					                 (lambda _
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue