games-rpg/flare: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 14:57:52 +02:00
parent f31f432a60
commit 02d0424380
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -2,7 +2,7 @@
# 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 cmake gtk-icon-cache
require cmake desktop-utils gtk-icon-cache
SUMMARY="Free/Libre Action Roleplaying game"
@ -30,17 +30,7 @@ src_install() {
exec flare --game=flare-game "\$@"
EOF
insinto /usr/share/applications
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
install_desktop_entry "Name=Flare (game)" "Exec=flare-game"
dodoc README
}