1 |
commit: 1aac9e3284d05747874513f4cfd49219d9d311a5 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 27 22:46:50 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 27 22:46:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aac9e32 |
7 |
|
8 |
games-strategy/ufoai: EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild | 10 +++------- |
14 |
1 file changed, 3 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild b/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild |
17 |
index b3bc8e4d1ac..2ce3bcbcdbe 100644 |
18 |
--- a/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild |
19 |
+++ b/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild |
20 |
@@ -1,15 +1,15 @@ |
21 |
# Copyright 1999-2019 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=6 |
25 |
+EAPI=7 |
26 |
|
27 |
-inherit desktop flag-o-matic gnome2-utils toolchain-funcs versionator |
28 |
+inherit desktop flag-o-matic toolchain-funcs xdg |
29 |
|
30 |
# 2.5.0 requires several patches |
31 |
COMMIT="8b4533e85fdc0665889ff285e1521432084ee784" |
32 |
|
33 |
# UFO:AI v2.5.0 was uploaded to SourceForge as 2.5 |
34 |
-DIST_VERSION=$(get_version_component_range 1-2) |
35 |
+DIST_VERSION=$(ver_cut 1-2) |
36 |
|
37 |
# Install game data here |
38 |
DATADIR="/usr/share/${PN}" |
39 |
@@ -168,7 +168,3 @@ src_install() { |
40 |
doins -r "${WORKDIR}"/${PN}-${DIST_VERSION}-mappack/* |
41 |
fi |
42 |
} |
43 |
- |
44 |
-pkg_preinst() { gnome2_icon_savelist; } |
45 |
-pkg_postinst() { gnome2_icon_cache_update; } |
46 |
-pkg_postrm() { gnome2_icon_cache_update; } |