From fed2a2946bdab844a3609a3ff00462606dfbbdfb Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 26 May 2016 14:53:36 +0200 Subject: [PATCH] games-roguelike/FTL: use desktop-utils.exlib --- packages/games-roguelike/FTL/FTL-1.5.13.exheres-0 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/games-roguelike/FTL/FTL-1.5.13.exheres-0 b/packages/games-roguelike/FTL/FTL-1.5.13.exheres-0 index dd1521d..fb99a0b 100644 --- a/packages/games-roguelike/FTL/FTL-1.5.13.exheres-0 +++ b/packages/games-roguelike/FTL/FTL-1.5.13.exheres-0 @@ -1,6 +1,8 @@ # Copyright 2016 Julian Ospald # 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" HOMEPAGE="http://www.ftlgame.com/" DOWNLOADS="manual: FTL.${PV}.tar.gz" @@ -58,17 +60,8 @@ fi exec /opt/FTL/bin/FTL "$@" EOF - insinto /usr/share/applications/ - hereins ${PN}.desktop << EOF -[Desktop Entry] -Name=Faster Than Light -Type=Application -Comment=${SUMMARY} -Exec=${PN} -TryExec=${PN} -Icon=/usr/share/pixmaps/FTL.bmp -Categories=Game;RolePlaying; -EOF + install_desktop_entry "Name=Faster Than Light" \ + "Icon=/usr/share/pixmaps/FTL.bmp" insinto /usr/share/pixmaps newins data/resources/exe_icon.bmp FTL.bmp