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

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

View File

@ -2,6 +2,7 @@
# Copyright 2014-2016 Julian Ospald <hasufell@posteo.de> # Copyright 2014-2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require desktop-utils
require sourceforge [ project=oarena pnv=${PN}-engine-source-${PV} ] require sourceforge [ project=oarena pnv=${PN}-engine-source-${PV} ]
SUMMARY="Open-source replacement for Quake 3 Arena" SUMMARY="Open-source replacement for Quake 3 Arena"
@ -76,16 +77,6 @@ src_install() {
insinto /usr/share/pixmaps insinto /usr/share/pixmaps
newins "${MY_S}"/misc/quake3.png ${PN}.png newins "${MY_S}"/misc/quake3.png ${PN}.png
insinto /usr/share/applications/ install_desktop_entry "Name=OpenArena"
hereins ${PN}.desktop << EOF
[Desktop Entry]
Name=OpenArena
Type=Application
Comment=${SUMMARY}
Exec=${PN}
TryExec=${PN}
Icon=${PN}
Categories=Game;ActionGame;
EOF
} }