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