games-strategy/unciv-bin: use xdg eclass

This ebuild installs desktop/icon files.

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono committed 2025-02-02 00:00:36 +09:00
1 parent 6bb5e6babe
commit 02af97fa58
1 file changed
+6 -1
@@ -3,7 +3,7 @@
EAPI=8
inherit desktop java-pkg-2
inherit desktop java-pkg-2 xdg
MY_PV=${PV/_p/-patch}
DESCRIPTION="Turn-based historical strategy game, a remake of Civ V"
@@ -32,3 +32,8 @@ src_install() {
# this desktop file is better than upstream's
make_desktop_entry "${PN}" Unciv-bin unciv "Game;StrategyGame" "Terminal=false"
}
pkg_preinst() {
java-pkg-2_pkg_preinst
xdg_pkg_preinst
}