games-roguelike/tome4: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 14:54:48 +02:00
parent fed2a2946b
commit 159d75e2a1
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -5,6 +5,9 @@ MY_PN="t-engine4"
MY_PV="${PV/_/}"
MY_PV="${MY_PV/rc/RC}"
MY_P="${MY_PN}-src-${MY_PV}"
require desktop-utils
SUMMARY="Topdown tactical RPG roguelike game and game engine"
HOMEPAGE="http://te4.org"
DOWNLOADS="http://te4.org/dl/t-engine/${MY_P}.tar.bz2"
@ -81,16 +84,6 @@ src_install() {
doins -r game
newbin t-engine ${PN}
insinto /usr/share/applications
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=ToME4
Type=Application
Comment=${SUMMARY}
Exec=${PN}
TryExec=${PN}
Icon=${PN}
Categories=Game;RolePlaying;
EOF
install_desktop_entry "Name=ToME4"
}