games-fps/eduke32: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 14:34:10 +02:00
parent 59c882cc51
commit 1cc0fe4edf
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -13,7 +13,7 @@
SCM_SVN_RAW_URI=1 SCM_SVN_RAW_URI=1
SCM_REPOSITORY="http://svn.eduke32.com/eduke32/polymer/eduke32" 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_PV=${PV%.*}
MY_BUILD=${PV#*.} MY_BUILD=${PV#*.}
@ -192,28 +192,8 @@ src_install() {
exec /usr/bin/eduke32.bin ${ARGS} "\$@" exec /usr/bin/eduke32.bin ${ARGS} "\$@"
EOF EOF
insinto /usr/share/applications install_desktop_entry "Name=EDuke32" "Exec=${PN}"
hereins ${PN}.desktop << EOF install_desktop_entry "Name=Mapster32" "Exec=mapster32" "Icon=mapster32"
[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
dodoc build/buildlic.txt dodoc build/buildlic.txt
} }