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

This commit is contained in:
Julian Ospald 2016-05-26 15:04:14 +02:00
parent b21bf3d516
commit 643944754a
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 parody" SUMMARY="A free 2D Zelda fangame parody"
@ -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 XD"
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Zelda: Mystery of Solarus XD
Type=Application
Comment=A free 2D Zelda fangame parody
Exec=zsxd
TryExec=zsxd
Icon=zsxd
Categories=Game;RolePlaying;
EOF
} }