1 |
commit: dd2c4782fed467879fc5f3a57f902c560920a136 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Sat Oct 16 13:56:40 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 21 03:38:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2c4782 |
7 |
|
8 |
games-strategy/tornado: EAPI8 bump, minor improvements |
9 |
|
10 |
Package-Manager: Portage-3.0.28, 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-strategy/tornado/tornado-1.4-r3.ebuild | 47 ++++++++++++++++++++++++++++ |
15 |
1 file changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/games-strategy/tornado/tornado-1.4-r3.ebuild b/games-strategy/tornado/tornado-1.4-r3.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..082cbe23940 |
20 |
--- /dev/null |
21 |
+++ b/games-strategy/tornado/tornado-1.4-r3.ebuild |
22 |
@@ -0,0 +1,47 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=8 |
27 |
+ |
28 |
+inherit toolchain-funcs |
29 |
+ |
30 |
+DESCRIPTION="Clone of a C64 game - destroy the opponent's house" |
31 |
+HOMEPAGE="https://github.com/kouya/tornado" |
32 |
+SRC_URI="https://github.com/kouya/tornado/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-2+" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+IUSE="nls" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ acct-group/gamestat |
41 |
+ sys-libs/ncurses:= |
42 |
+ nls? ( virtual/libintl )" |
43 |
+DEPEND="${RDEPEND}" |
44 |
+BDEPEND=" |
45 |
+ virtual/pkgconfig |
46 |
+ nls? ( sys-devel/gettext )" |
47 |
+ |
48 |
+PATCHES=( |
49 |
+ "${FILESDIR}"/${P}-r2-gentoo.patch |
50 |
+) |
51 |
+ |
52 |
+src_configure() { |
53 |
+ if ! use nls; then |
54 |
+ sed -i \ |
55 |
+ -e '/^all:/s|locales||g' \ |
56 |
+ -e '/^install:/s|install-locale-data||g' \ |
57 |
+ Makefile || die |
58 |
+ fi |
59 |
+ |
60 |
+ tc-export CC PKG_CONFIG |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ default |
65 |
+ |
66 |
+ fowners :gamestat /usr/bin/${PN} /var/games/${PN}.scores |
67 |
+ fperms g+s /usr/bin/${PN} |
68 |
+ fperms 660 /var/games/${PN}.scores |
69 |
+} |