games-rpg/pillars-of-eternity: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 14:58:46 +02:00
parent 02d0424380
commit 6d8655cd38
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -1,7 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache
require desktop-utils gtk-icon-cache
SUMMARY="Pillars Of Eternity"
HOMEPAGE="http://www.gog.com/game/pillars_of_eternity_hero_edition"
@ -100,17 +100,7 @@ cd "${dir}/game"
exec "./PillarsOfEternity" "\$@"
EOF
insinto /usr/share/applications
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Pillars Of Eternity
Type=Application
Comment=${SUMMARY}
Exec=${PN}
TryExec=${PN}
Icon=${PN}
Categories=Game;RolePlaying;
EOF
install_desktop_entry "Name=Pillars Of Eternity"
dodoc game/Docs/{pe-game-manual.pdf,readme.txt}