summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-22 14:57:49 +0000
committerSam James <sam@gentoo.org>2021-04-22 14:57:49 +0000
commit85cd9a92fa14d71b2bbbd6ab503086b0560df006 (patch)
tree6e7378dd3ae2d3081ec855be921dc20e937edd3e /games-fps
parentgames-fps/sauerbraten: add 2020.12.27 (diff)
downloadgentoo-85cd9a92fa14d71b2bbbd6ab503086b0560df006.tar.gz
gentoo-85cd9a92fa14d71b2bbbd6ab503086b0560df006.tar.bz2
gentoo-85cd9a92fa14d71b2bbbd6ab503086b0560df006.zip
games-fps/sauerbraten: gnome2-utils -> xdg.eclass
Signed-off-by: Sam James <sam@gentoo.org>
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
-}