games-rpg/baldurs-gate-ee: use desktop-utils.exlib
This commit is contained in:
parent
c696e45743
commit
f31f432a60
@ -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="Baldur's Gate: Enhanced Edition"
|
||||
HOMEPAGE="http://www.gog.com/game/baldurs_gate_enhanced_edition"
|
||||
@ -81,17 +81,7 @@ fi
|
||||
exec ${LD_PATH} "${dir}/game/BaldursGate" "\$@"
|
||||
EOF
|
||||
|
||||
insinto /usr/share/applications
|
||||
hereins ${PN}.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Name=Baldurs Gate Enhanced Edition
|
||||
Type=Application
|
||||
Comment=${SUMMARY}
|
||||
Exec=/usr/$(exhost --target)/${PN}
|
||||
TryExec=/usr/$(exhost --target)/${PN}
|
||||
Icon=${PN}
|
||||
Categories=Game;RolePlaying;
|
||||
EOF
|
||||
install_desktop_entry "Name=Baldurs Gate Enhanced Edition"
|
||||
|
||||
dodoc -r docs/Manuals
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user