games-rpg/sumwars: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 15:02:15 +02:00
parent 293679be36
commit 430d1ef718
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -3,7 +3,7 @@
WORK=${WORKBASE}/${PN}-${PV%_*} WORK=${WORKBASE}/${PN}-${PV%_*}
require cmake [ api=2 ] gtk-icon-cache flag-o-matic require cmake [ api=2 ] desktop-utils gtk-icon-cache flag-o-matic
require sourceforge [ pnv=${PNV//_/-}-src ] require sourceforge [ pnv=${PNV//_/-}-src ]
SUMMARY="A multi-player, 3D action role-playing game" SUMMARY="A multi-player, 3D action role-playing game"
@ -61,16 +61,6 @@ src_install() {
insinto /usr/share/icons/hicolor/128x128/apps insinto /usr/share/icons/hicolor/128x128/apps
newins "${CMAKE_SOURCE}"/share/icon/SumWarsIcon_128x128.png ${PN}.png newins "${CMAKE_SOURCE}"/share/icon/SumWarsIcon_128x128.png ${PN}.png
insinto /usr/share/applications install_desktop_entry "Name=Summoning Wars"
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Summoning Wars
Type=Application
Comment=a multi-player, 3D action role-playing game
Exec=sumwars
TryExec=sumwars
Icon=sumwars
Categories=Game;RolePlaying;
EOF
} }