1 |
commit: f6322880c50fb07410ad57686f3add9b40465333 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 28 15:13:27 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 28 15:14:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6322880 |
7 |
|
8 |
games-action/crimsonland: New package |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-action/crimsonland/Manifest | 2 + |
14 |
games-action/crimsonland/crimsonland-1.3.5.ebuild | 48 +++++++++++++++++++++++ |
15 |
games-action/crimsonland/metadata.xml | 8 ++++ |
16 |
3 files changed, 58 insertions(+) |
17 |
|
18 |
diff --git a/games-action/crimsonland/Manifest b/games-action/crimsonland/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..fe90633ed3d |
21 |
--- /dev/null |
22 |
+++ b/games-action/crimsonland/Manifest |
23 |
@@ -0,0 +1,2 @@ |
24 |
+DIST Crimsonland-Linux-x86-1.3.5.tar 58620320 BLAKE2B c67f132390e1a1b9a1697e877370f91603d558ddba717608a7f3709bb8395fe5017f598dfed82312f670ed510e4bb307df77978769776de184d5ce72d8792a6e SHA512 14faeeeba2326ece9a88b32442f5c65e3aec8c0a6e7a486a034d2684a8a6bb9059a25c574cc6d8cb798733e5ecd1db8ad25b610ec1d1177c4ec6493f02953e06 |
25 |
+DIST crimsonland.png 33312 BLAKE2B 8bcec3baf2eb55ca37d89a7353d720a4bbcbe87bb83854025e35e7ee388315b43291d901d2166dc67446846a53cbca65fe3d920d431b8a87f1979dcfaaa86a11 SHA512 3aa551d4bbc49cfcda039703b837ca533564ae097bacfc72859fe3f1377e952397199cd6daaaf1b406252fd903390f75236b1a1285cb8c41fe3681c6b3738b94 |
26 |
|
27 |
diff --git a/games-action/crimsonland/crimsonland-1.3.5.ebuild b/games-action/crimsonland/crimsonland-1.3.5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..bd9ae1cf224 |
30 |
--- /dev/null |
31 |
+++ b/games-action/crimsonland/crimsonland-1.3.5.ebuild |
32 |
@@ -0,0 +1,48 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit eutils desktop xdg-utils |
39 |
+ |
40 |
+DESCRIPTION="A top-down shooter with a touch of RPG" |
41 |
+HOMEPAGE="https://crimsonland.com/" |
42 |
+SRC_URI="Crimsonland-Linux-x86-${PV}.tar |
43 |
+ https://dev.gentoo.org/~chewi/distfiles/${PN}.png" |
44 |
+LICENSE="all-rights-reserved" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="-* ~amd64 ~x86" |
47 |
+RESTRICT="bindist mirror splitdebug" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ media-libs/libsdl2[abi_x86_32,opengl,video] |
51 |
+ media-libs/openal[abi_x86_32] |
52 |
+" |
53 |
+ |
54 |
+S="${WORKDIR}" |
55 |
+ |
56 |
+DIR="/opt/${PN}" |
57 |
+QA_PREBUILT="${DIR}/*" |
58 |
+ |
59 |
+pkg_nofetch() { |
60 |
+ einfo "Please buy and download ${SRC_URI} from:" |
61 |
+ einfo " https://www.humblebundle.com/store/${PN}" |
62 |
+ einfo "and move it to your distfiles directory." |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ exeinto "${DIR}" |
67 |
+ doexe ${PN} |
68 |
+ make_wrapper ${PN} ./${PN} "${DIR}" |
69 |
+ |
70 |
+ insinto "${DIR}" |
71 |
+ doins *.pak *.xml |
72 |
+ |
73 |
+ dodoc README.txt |
74 |
+ |
75 |
+ doicon -s 64 "${DISTDIR}"/${PN}.png |
76 |
+ make_desktop_entry ${PN} Crimsonland |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { xdg_icon_cache_update; } |
80 |
+pkg_postrm() { xdg_icon_cache_update; } |
81 |
|
82 |
diff --git a/games-action/crimsonland/metadata.xml b/games-action/crimsonland/metadata.xml |
83 |
new file mode 100644 |
84 |
index 00000000000..26079e608be |
85 |
--- /dev/null |
86 |
+++ b/games-action/crimsonland/metadata.xml |
87 |
@@ -0,0 +1,8 @@ |
88 |
+<?xml version="1.0" encoding="UTF-8"?> |
89 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
90 |
+<pkgmetadata> |
91 |
+ <maintainer type="project"> |
92 |
+ <email>games@g.o</email> |
93 |
+ <name>Gentoo Games Project</name> |
94 |
+ </maintainer> |
95 |
+</pkgmetadata> |