From fe8c380dc65b4e10d85e8672e80692e964564292 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 26 May 2016 14:24:47 +0200 Subject: [PATCH] games-board/pysolfc: use desktop-utils.exlib --- packages/games-board/pysolfc/pysolfc-2.0.exheres-0 | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/packages/games-board/pysolfc/pysolfc-2.0.exheres-0 b/packages/games-board/pysolfc/pysolfc-2.0.exheres-0 index 27a9ba41..6291bfb4 100644 --- a/packages/games-board/pysolfc/pysolfc-2.0.exheres-0 +++ b/packages/games-board/pysolfc/pysolfc-2.0.exheres-0 @@ -3,6 +3,7 @@ MY_PN=PySolFC +require desktop-utils require setup-py [ import=distutils multibuild=false blacklist=3 python_opts="[tk]" ] require sourceforge [ project=pysolfc pnv=${MY_PN}-${PV} ] @@ -42,16 +43,7 @@ src_install() { doman docs/*.6 - insinto /usr/share/applications - hereins ${PN}.desktop << EOF -[Desktop Entry] -Name=PySol Fan Club Edition -Type=Application -Comment=${SUMMARY} -Exec=${PN}.py -TryExec=${PN}.py -Icon=pysol02 -Categories=Game;BoardGame; -EOF + install_desktop_entry "Name=PySol Fan Club Edition" \ + "Exec=pysol.py" "Icon=pysol02" }