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

This commit is contained in:
Julian Ospald 2016-05-26 14:46:38 +02:00
parent 256fb5135a
commit c86a2d7600
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -7,7 +7,7 @@ ENGINE_P=${PN}_${ENGINE_PV}_sdk
WORK=${WORKBASE}/${ENGINE_P}/source/source WORK=${WORKBASE}/${ENGINE_P}/source/source
require cmake [ api=2 ] gtk-icon-cache require cmake [ api=2 ] gtk-icon-cache desktop-utils
SUMMARY="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)" SUMMARY="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
HOMEPAGE="http://www.warsow.net/" HOMEPAGE="http://www.warsow.net/"
@ -89,16 +89,6 @@ EOF
insinto /usr/share/icons/hicolor/48x48/apps insinto /usr/share/icons/hicolor/48x48/apps
doins "${FETCHEDDIR}"/${PN}.png doins "${FETCHEDDIR}"/${PN}.png
insinto /usr/share/applications install_desktop_entry "Name=Warsow"
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Warsow
Type=Application
Comment=Multiplayer FPS based on the QFusion engine (evolved from Quake 2)
Exec=warsow
TryExec=warsow
Icon=warsow
Categories=Game;ActionGame;
EOF
} }