1 |
commit: c29160cd09a9b0de8c83c6e73d4aaa5f258cc753 |
2 |
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name> |
3 |
AuthorDate: Mon Aug 15 05:22:13 2016 +0000 |
4 |
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> |
5 |
CommitDate: Mon Aug 15 05:22:13 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=c29160cd |
7 |
|
8 |
divinity-original-sin-ee: added |
9 |
|
10 |
.../divinity-original-sin-ee-2.0.0.1.ebuild | 62 ++++++++++++++++++++++ |
11 |
games-rpg/divinity-original-sin-ee/metadata.xml | 14 +++++ |
12 |
2 files changed, 76 insertions(+) |
13 |
|
14 |
diff --git a/games-rpg/divinity-original-sin-ee/divinity-original-sin-ee-2.0.0.1.ebuild b/games-rpg/divinity-original-sin-ee/divinity-original-sin-ee-2.0.0.1.ebuild |
15 |
new file mode 100644 |
16 |
index 0000000..93b38ba |
17 |
--- /dev/null |
18 |
+++ b/games-rpg/divinity-original-sin-ee/divinity-original-sin-ee-2.0.0.1.ebuild |
19 |
@@ -0,0 +1,62 @@ |
20 |
+# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+ |
23 |
+EAPI="6" |
24 |
+ |
25 |
+inherit eutils unpacker |
26 |
+ |
27 |
+DESCRIPTION="Divinity: Original Sin - Enhanced Edition (GOG edition)" |
28 |
+HOMEPAGE="http://www.divinityoriginalsin-enhanced.com/" |
29 |
+ |
30 |
+SLOT="0" |
31 |
+LICENSE="as-is" |
32 |
+KEYWORDS="-* ~amd64" |
33 |
+RESTRICT="fetch" |
34 |
+ |
35 |
+SRC_URI="divinity_original_sin_enhanced_edition_${PV}_gog.sh" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+" |
39 |
+DEPEND="${RDEPEND}" |
40 |
+ |
41 |
+S="${WORKDIR}" |
42 |
+ |
43 |
+QA_PRESTRIPPED=" |
44 |
+opt/Divinity_OS_EE/game/* |
45 |
+" |
46 |
+ |
47 |
+pkg_nofetch() { |
48 |
+ ewarn |
49 |
+ ewarn "Place ${A} to ${DISTDIR}" |
50 |
+ ewarn |
51 |
+} |
52 |
+ |
53 |
+src_unpack() { |
54 |
+ unpack_mojosetup |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ local dir="/opt/Divinity_OS_EE" |
59 |
+ |
60 |
+ insinto "${dir}" |
61 |
+ doins -r data/noarch/. |
62 |
+ |
63 |
+ exeinto "${dir}" |
64 |
+ doexe "data/noarch/start.sh" |
65 |
+ exeinto "${dir}/game" |
66 |
+ doexe "data/noarch/game/runner.sh" |
67 |
+ |
68 |
+ fowners :users game/Data/Localization/language.lsx |
69 |
+ fperms 664 game/Data/Localization/language.lsx |
70 |
+ |
71 |
+ make_wrapper "${PN}" "./start.sh" "${dir}" |
72 |
+ newicon "data/noarch/support/icon.png" "${PN}.png" || die |
73 |
+ make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}" |
74 |
+} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ ewarn "Since EAPI6 forbids using 'games' group anymore," |
78 |
+ ewarn "please consider adding your user to 'users' group." |
79 |
+ ewarn "That is needed because upstream's game wrapper uses sed internally" |
80 |
+ ewarn "to patch some game files on each run." |
81 |
+} |
82 |
|
83 |
diff --git a/games-rpg/divinity-original-sin-ee/metadata.xml b/games-rpg/divinity-original-sin-ee/metadata.xml |
84 |
new file mode 100644 |
85 |
index 0000000..23da526 |
86 |
--- /dev/null |
87 |
+++ b/games-rpg/divinity-original-sin-ee/metadata.xml |
88 |
@@ -0,0 +1,14 @@ |
89 |
+<?xml version="1.0" encoding="UTF-8"?> |
90 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
91 |
+<pkgmetadata> |
92 |
+<maintainer> |
93 |
+ <email>mva@×××.name</email> |
94 |
+ <description> |
95 |
+ If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. |
96 |
+ </description> |
97 |
+ <name>Vadim A. Misbakh-Soloviov</name> |
98 |
+</maintainer> |
99 |
+<longdescription>FIXME</longdescription> |
100 |
+<use> |
101 |
+</use> |
102 |
+</pkgmetadata> |