summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2016-08-15 12:22:13 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2016-08-15 12:22:13 +0700
commitc29160cd09a9b0de8c83c6e73d4aaa5f258cc753 (patch)
tree6f9de861b644d5c265ea5317c6a2665ff7a4fc8d /games-rpg
parentxonotic-maps: fix bug reported by email. TODO: ask Nikoli to KILL IT WITH FIR... (diff)
downloadgamerlay-c29160cd09a9b0de8c83c6e73d4aaa5f258cc753.tar.gz
gamerlay-c29160cd09a9b0de8c83c6e73d4aaa5f258cc753.tar.bz2
gamerlay-c29160cd09a9b0de8c83c6e73d4aaa5f258cc753.zip
divinity-original-sin-ee: added
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/divinity-original-sin-ee/Manifest1
-rw-r--r--games-rpg/divinity-original-sin-ee/divinity-original-sin-ee-2.0.0.1.ebuild62
-rw-r--r--games-rpg/divinity-original-sin-ee/metadata.xml14
3 files changed, 77 insertions, 0 deletions
diff --git a/games-rpg/divinity-original-sin-ee/Manifest b/games-rpg/divinity-original-sin-ee/Manifest
new file mode 100644
index 0000000..b8d9929
--- /dev/null
+++ b/games-rpg/divinity-original-sin-ee/Manifest
@@ -0,0 +1 @@
+DIST divinity_original_sin_enhanced_edition_2.0.0.1_gog.sh 9998416790 SHA256 2432897a976be3cde879dcc0b68c95bb1fb9c71d9dee998cffc25c2fab06a21f SHA512 63f1197c9db22e8a76d2462d256374031a0ec144d84fc176544090070c32f7d109a46cd8b24afac3b14a87069837d5b8ba3f82b444ef9d91cee45b8cef5a8dbd WHIRLPOOL 86bbef47c6e2d245acba39d205bf35010f7213c0eaf071acaca57bbe267c692680b149b678cf613b359dfb3c12b74a9b95bc1b8548f1ba6f34b0dc552cc184da
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
new file mode 100644
index 0000000..93b38ba
--- /dev/null
+++ b/games-rpg/divinity-original-sin-ee/divinity-original-sin-ee-2.0.0.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils unpacker
+
+DESCRIPTION="Divinity: Original Sin - Enhanced Edition (GOG edition)"
+HOMEPAGE="http://www.divinityoriginalsin-enhanced.com/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="-* ~amd64"
+RESTRICT="fetch"
+
+SRC_URI="divinity_original_sin_enhanced_edition_${PV}_gog.sh"
+
+RDEPEND="
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+QA_PRESTRIPPED="
+opt/Divinity_OS_EE/game/*
+"
+
+pkg_nofetch() {
+ ewarn
+ ewarn "Place ${A} to ${DISTDIR}"
+ ewarn
+}
+
+src_unpack() {
+ unpack_mojosetup
+}
+
+src_install() {
+ local dir="/opt/Divinity_OS_EE"
+
+ insinto "${dir}"
+ doins -r data/noarch/.
+
+ exeinto "${dir}"
+ doexe "data/noarch/start.sh"
+ exeinto "${dir}/game"
+ doexe "data/noarch/game/runner.sh"
+
+ fowners :users game/Data/Localization/language.lsx
+ fperms 664 game/Data/Localization/language.lsx
+
+ make_wrapper "${PN}" "./start.sh" "${dir}"
+ newicon "data/noarch/support/icon.png" "${PN}.png" || die
+ make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
+}
+
+pkg_postinst() {
+ ewarn "Since EAPI6 forbids using 'games' group anymore,"
+ ewarn "please consider adding your user to 'users' group."
+ ewarn "That is needed because upstream's game wrapper uses sed internally"
+ ewarn "to patch some game files on each run."
+}
diff --git a/games-rpg/divinity-original-sin-ee/metadata.xml b/games-rpg/divinity-original-sin-ee/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/games-rpg/divinity-original-sin-ee/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>mva@mva.name</email>
+ <description>
+ If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
+ </description>
+ <name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription>FIXME</longdescription>
+<use>
+</use>
+</pkgmetadata>