games-arcade/opensonic: add .desktop file

This commit is contained in:
Julian Ospald 2016-02-27 18:10:23 +01:00
parent 64fbf52544
commit 1c48e3c5e0

View File

@ -47,5 +47,16 @@ src_install() {
dosym "${i#${IMAGE}}" \
"/usr/$(exhost --target)/libexec/${PN}/${i#${IMAGE}/usr/share/${PN}/}"
done
insinto /usr/share/applications
hereins ${PN}.desktop << EOF
[Desktop Entry]
Type=Application
Name=OpenSonic
Exec=${PN}
Icon=${PN}
Comment=${SUMMARY}
Categories=Game;ArcadeGame;
EOF
}