1 |
commit: 6723f7ac4d1431c7cebc595fbac079ea54857fe3 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Mon Jun 21 16:11:11 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 24 00:48:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6723f7ac |
7 |
|
8 |
games-action/moon-buggy: EAPI7, add missing eclass, fix LICENSE |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild | 21 +++++++++++---------- |
15 |
1 file changed, 11 insertions(+), 10 deletions(-) |
16 |
|
17 |
diff --git a/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild b/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild |
18 |
index 0347e5bfa29..9430a6baa4a 100644 |
19 |
--- a/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild |
20 |
+++ b/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild |
21 |
@@ -1,41 +1,42 @@ |
22 |
# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
-inherit autotools |
27 |
+EAPI=7 |
28 |
|
29 |
-DESCRIPTION="A simple console game, where you drive a car across the moon's surface" |
30 |
+inherit autotools toolchain-funcs |
31 |
+ |
32 |
+DESCRIPTION="Simple console game, where you drive a car across the moon's surface" |
33 |
HOMEPAGE="https://www.seehuhn.de/pages/moon-buggy.html" |
34 |
SRC_URI="https://m.seehuhn.de/programs/${P}.tar.gz" |
35 |
|
36 |
-LICENSE="GPL-2" |
37 |
+LICENSE="GPL-2+" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64 ~arm ~x86" |
40 |
-IUSE="" |
41 |
|
42 |
RDEPEND="acct-group/gamestat |
43 |
sys-libs/ncurses:0=" |
44 |
-DEPEND="${RDEPEND} |
45 |
- virtual/pkgconfig" |
46 |
+DEPEND="${RDEPEND}" |
47 |
+BDEPEND="virtual/pkgconfig" |
48 |
|
49 |
src_prepare() { |
50 |
default |
51 |
sed -i \ |
52 |
-e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' \ |
53 |
Makefile.am || die |
54 |
- rm -f missing |
55 |
+ rm missing || die |
56 |
eautoreconf |
57 |
} |
58 |
|
59 |
src_configure() { |
60 |
econf \ |
61 |
- --sharedstatedir="/var/games" \ |
62 |
+ --sharedstatedir="${EPREFIX}/var/games" \ |
63 |
--with-curses-libs="$($(tc-getPKG_CONFIG) ncurses --libs)" |
64 |
} |
65 |
|
66 |
src_install() { |
67 |
default |
68 |
- touch "${D}/var/games/${PN}/mbscore" |
69 |
+ |
70 |
+ touch "${ED}/var/games/${PN}/mbscore" || die |
71 |
fowners root:gamestat /usr/bin/${PN} /var/games/${PN} /var/games/${PN}/mbscore |
72 |
fperms 2755 /usr/bin/${PN} |
73 |
fperms 664 /var/games/${PN}/mbscore |