summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild b/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild
index 46c1e22b18ee..8b66fceccde3 100644
--- a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit desktop flag-o-matic gnome2-utils toolchain-funcs wrapper
+inherit desktop flag-o-matic toolchain-funcs wrapper xdg
DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)"
HOMEPAGE="http://sauerbraten.org/"
@@ -129,17 +129,9 @@ src_install() {
dodoc -r README.html docs/*
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
- gnome2_icon_cache_update
+ xdg_pkg_postinst
elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
elog "to corresponding folder in your HOME/.${PN}"
}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}