Line
Link Here
|
0 |
-- games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild |
0 |
++ games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild |
Lines 1-8
Link Here
|
1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 1999-2021 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=7 |
5 |
inherit eutils gnome2-utils |
5 |
|
|
|
6 |
inherit desktop |
6 |
|
7 |
|
7 |
MY_PN="${PN}_w_fonts" |
8 |
MY_PN="${PN}_w_fonts" |
8 |
DESCRIPTION="Educational arcade game where you have to solve maths problems" |
9 |
DESCRIPTION="Educational arcade game where you have to solve maths problems" |
Lines 36-41
Link Here
|
36 |
default |
37 |
default |
37 |
|
38 |
|
38 |
sed -i -e '/\bdoc\b/d' Makefile.in || die |
39 |
sed -i -e '/\bdoc\b/d' Makefile.in || die |
|
|
40 |
sed -i -e '/lan_player_info/d' src/menu_lan.c || die |
39 |
} |
41 |
} |
40 |
|
42 |
|
41 |
src_configure() { |
43 |
src_configure() { |
Lines 51-65
Link Here
|
51 |
make_desktop_entry ${PN} "TuxMath" |
53 |
make_desktop_entry ${PN} "TuxMath" |
52 |
dodoc doc/{README,TODO,changelog} |
54 |
dodoc doc/{README,TODO,changelog} |
53 |
} |
55 |
} |
54 |
|
|
|
55 |
pkg_preinst() { |
56 |
gnome2_icon_savelist |
57 |
} |
58 |
|
59 |
pkg_postinst() { |
60 |
gnome2_icon_cache_update |
61 |
} |
62 |
|
63 |
pkg_postrm() { |
64 |
gnome2_icon_cache_update |
65 |
} |