games-rpg/zsxd: use desktop-utils.exlib
This commit is contained in:
parent
b21bf3d516
commit
643944754a
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user