1 |
commit: 85cd9a92fa14d71b2bbbd6ab503086b0560df006 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 14:57:49 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 14:57:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85cd9a92 |
7 |
|
8 |
games-fps/sauerbraten: gnome2-utils -> xdg.eclass |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild | 12 ++---------- |
13 |
1 file changed, 2 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild b/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild |
16 |
index 46c1e22b18e..8b66fceccde 100644 |
17 |
--- a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild |
18 |
+++ b/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-inherit desktop flag-o-matic gnome2-utils toolchain-funcs wrapper |
24 |
+inherit desktop flag-o-matic toolchain-funcs wrapper xdg |
25 |
|
26 |
DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)" |
27 |
HOMEPAGE="http://sauerbraten.org/" |
28 |
@@ -129,17 +129,9 @@ src_install() { |
29 |
dodoc -r README.html docs/* |
30 |
} |
31 |
|
32 |
-pkg_preinst() { |
33 |
- gnome2_icon_savelist |
34 |
-} |
35 |
- |
36 |
pkg_postinst() { |
37 |
- gnome2_icon_cache_update |
38 |
+ xdg_pkg_postinst |
39 |
|
40 |
elog "If you plan to use map editor feature copy all map data from ${DATADIR}" |
41 |
elog "to corresponding folder in your HOME/.${PN}" |
42 |
} |
43 |
- |
44 |
-pkg_postrm() { |
45 |
- gnome2_icon_cache_update |
46 |
-} |