From 1cc0fe4edf2350d641fed7affe411b8ed06579e2 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 26 May 2016 14:34:10 +0200 Subject: [PATCH] games-fps/eduke32: use desktop-utils.exlib --- .../games-fps/eduke32/eduke32-scm.exheres-0 | 26 +++---------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/packages/games-fps/eduke32/eduke32-scm.exheres-0 b/packages/games-fps/eduke32/eduke32-scm.exheres-0 index 5cacd11..2525343 100644 --- a/packages/games-fps/eduke32/eduke32-scm.exheres-0 +++ b/packages/games-fps/eduke32/eduke32-scm.exheres-0 @@ -13,7 +13,7 @@ SCM_SVN_RAW_URI=1 SCM_REPOSITORY="http://svn.eduke32.com/eduke32/polymer/eduke32" -require gtk-icon-cache scm-svn +require desktop-utils gtk-icon-cache scm-svn MY_PV=${PV%.*} MY_BUILD=${PV#*.} @@ -192,28 +192,8 @@ src_install() { exec /usr/bin/eduke32.bin ${ARGS} "\$@" EOF - insinto /usr/share/applications - hereins ${PN}.desktop << EOF -[Desktop Entry] -Name=EDuke32 -Type=Application -Comment=${SUMMARY} -Exec=${PN} -TryExec=${PN} -Icon=${PN} -Categories=Game;ActionGame; -EOF - - hereins mapster32.desktop << EOF -[Desktop Entry] -Name=Mapster32 -Type=Application -Comment=${SUMMARY} -Exec=mapster32 -TryExec=mapster32 -Icon=mapster32 -Categories=Game;ActionGame; -EOF + install_desktop_entry "Name=EDuke32" "Exec=${PN}" + install_desktop_entry "Name=Mapster32" "Exec=mapster32" "Icon=mapster32" dodoc build/buildlic.txt }