From 9436eeea51da82eb751cb31620cdcfd25c09f978 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 26 May 2016 14:05:55 +0200 Subject: [PATCH] games-board/capicity: use desktop-utils.exlib --- .../games-board/capicity/capicity-1.0.exheres-0 | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/games-board/capicity/capicity-1.0.exheres-0 b/packages/games-board/capicity/capicity-1.0.exheres-0 index 9669016c..bafa1b98 100644 --- a/packages/games-board/capicity/capicity-1.0.exheres-0 +++ b/packages/games-board/capicity/capicity-1.0.exheres-0 @@ -1,7 +1,7 @@ # Copyright 2015-2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -require gtk-icon-cache +require desktop-utils gtk-icon-cache require qmake [ slot=4 ] require sourceforge [ project=capitalism pnv=CapiCity_${PV} suffix=tar.gz ] @@ -47,16 +47,6 @@ src_install() { newins "${WORK}"/CapiCity_${PV}/icons/${res}x${res}.png ${PN}.png done - insinto /usr/share/applications - hereins ${PN}.desktop << EOF -[Desktop Entry] -Name=CapiCity -Comment=${SUMMARY} -Exec=CapiCity -Icon=${PN} -Terminal=false -Type=Application -Categories=Game;BoardGame; -EOF + install_desktop_entry "Name=CapiCity" "Exec=CapiCity" }