games-rpg/pillars-of-eternity: use desktop-utils.exlib
This commit is contained in:
parent
02d0424380
commit
6d8655cd38
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user