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

This commit is contained in:
Julian Ospald 2016-05-26 15:03:32 +02:00
parent 430d1ef718
commit b21bf3d516
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -1,6 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require desktop-utils
require cmake [ api=2 ] require cmake [ api=2 ]
SUMMARY="A free 2D Zelda fangame" SUMMARY="A free 2D Zelda fangame"
@ -38,16 +39,6 @@ src_install() {
exec solarus_run "/usr/share/solarus/${PN}" "\$@" exec solarus_run "/usr/share/solarus/${PN}" "\$@"
EOF EOF
insinto /usr/share/applications install_desktop_entry "Name=Zelda: Mystery of Solarus DX"
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Zelda: Mystery of Solarus DX
Type=Application
Comment=A free 2D Zelda fangame
Exec=zsdx
TryExec=zsdx
Icon=zsdx
Categories=Game;RolePlaying;
EOF
} }