summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/morrowind-data/morrowind-data-2.ebuild')
-rw-r--r--games-rpg/morrowind-data/morrowind-data-2.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/games-rpg/morrowind-data/morrowind-data-2.ebuild b/games-rpg/morrowind-data/morrowind-data-2.ebuild
new file mode 100644
index 000000000000..051a244c2d34
--- /dev/null
+++ b/games-rpg/morrowind-data/morrowind-data-2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/morrowind-data/morrowind-data-2.ebuild,v 1.1 2014/11/06 20:02:58 hasufell Exp $
+
+EAPI=5
+
+inherit cdrom check-reqs games
+
+DESCRIPTION="The Elder Scrolls III: Morrowind - data extractor"
+HOMEPAGE="http://www.elderscrolls.com/"
+SRC_URI=""
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="bindist mirror"
+
+RDEPEND="games-engines/openmw"
+DEPEND="app-arch/unshield"
+
+QA_PREBUILT="${GAMES_DATADIR}/${PN}/*"
+
+S=${WORKDIR}
+
+CHECKREQS_DISK_BUILD="622M"
+CHECKREQS_DISK_USR="741M"
+
+src_unpack() {
+ cdrom_get_cds data1.cab
+
+ unshield x "${CDROM_ROOT}"/data1.cab || die "unpacking data1.cab failed!"
+ unshield x "${CDROM_ROOT}"/data2.cab || die "unpacking data2.cab failed!"
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r "${CDROM_ROOT}"/Video
+ doins App_Executables/Morrowind.ini Data_Files/*
+ doins -r Music Sound Splash Fonts
+
+ prepgamesdirs
+}