games-roguelike/FTL: use desktop-utils.exlib
This commit is contained in:
parent
13a9a6a103
commit
fed2a2946b
@ -1,6 +1,8 @@
|
|||||||
# 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
|
||||||
|
|
||||||
SUMMARY="Faster Than Light: A spaceship simulation real-time roguelike-like game"
|
SUMMARY="Faster Than Light: A spaceship simulation real-time roguelike-like game"
|
||||||
HOMEPAGE="http://www.ftlgame.com/"
|
HOMEPAGE="http://www.ftlgame.com/"
|
||||||
DOWNLOADS="manual: FTL.${PV}.tar.gz"
|
DOWNLOADS="manual: FTL.${PV}.tar.gz"
|
||||||
@ -58,17 +60,8 @@ fi
|
|||||||
exec /opt/FTL/bin/FTL "$@"
|
exec /opt/FTL/bin/FTL "$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
insinto /usr/share/applications/
|
install_desktop_entry "Name=Faster Than Light" \
|
||||||
hereins ${PN}.desktop << EOF
|
"Icon=/usr/share/pixmaps/FTL.bmp"
|
||||||
[Desktop Entry]
|
|
||||||
Name=Faster Than Light
|
|
||||||
Type=Application
|
|
||||||
Comment=${SUMMARY}
|
|
||||||
Exec=${PN}
|
|
||||||
TryExec=${PN}
|
|
||||||
Icon=/usr/share/pixmaps/FTL.bmp
|
|
||||||
Categories=Game;RolePlaying;
|
|
||||||
EOF
|
|
||||||
|
|
||||||
insinto /usr/share/pixmaps
|
insinto /usr/share/pixmaps
|
||||||
newins data/resources/exe_icon.bmp FTL.bmp
|
newins data/resources/exe_icon.bmp FTL.bmp
|
||||||
|
Loading…
Reference in New Issue
Block a user