forked from hasufell/hasufell-repository
		
	games-rpg/flare: use desktop-utils.exlib
This commit is contained in:
		
							parent
							
								
									f31f432a60
								
							
						
					
					
						commit
						02d0424380
					
				@ -2,7 +2,7 @@
 | 
				
			|||||||
# Distributed under the terms of the GNU General Public License v2
 | 
					# Distributed under the terms of the GNU General Public License v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
require github [ user=clintbellanger project=flare-game tag=v${PV} pn=flare-game ]
 | 
					require github [ user=clintbellanger project=flare-game tag=v${PV} pn=flare-game ]
 | 
				
			||||||
require cmake gtk-icon-cache
 | 
					require cmake desktop-utils gtk-icon-cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SUMMARY="Free/Libre Action Roleplaying game"
 | 
					SUMMARY="Free/Libre Action Roleplaying game"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -30,17 +30,7 @@ src_install() {
 | 
				
			|||||||
exec flare --game=flare-game "\$@"
 | 
					exec flare --game=flare-game "\$@"
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    insinto /usr/share/applications
 | 
					    install_desktop_entry "Name=Flare (game)" "Exec=flare-game"
 | 
				
			||||||
    hereins ${PN}-game.desktop <<EOF
 | 
					 | 
				
			||||||
[Desktop Entry]
 | 
					 | 
				
			||||||
Name=Flare (game)
 | 
					 | 
				
			||||||
Type=Application
 | 
					 | 
				
			||||||
Comment=Free/Libre Action Roleplaying game
 | 
					 | 
				
			||||||
Exec=flare-game
 | 
					 | 
				
			||||||
TryExec=flare-game
 | 
					 | 
				
			||||||
Icon=flare
 | 
					 | 
				
			||||||
Categories=Game;RolePlaying;
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dodoc README
 | 
					    dodoc README
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user