X-Git-Url: http://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/9195111145722c6d8b628714a93806d879064931..e5b5247c66c2054d298831ff629cc5a718e97fff:/games-strategy/moo2-data/moo2-data-1.31-r2.ebuild diff --git a/games-strategy/moo2-data/moo2-data-1.31-r2.ebuild b/games-strategy/moo2-data/moo2-data-1.31-r2.ebuild new file mode 100644 index 0000000..1a5c250 --- /dev/null +++ b/games-strategy/moo2-data/moo2-data-1.31-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright © 2013, 2015 Nick Bowler +# License GPLv3+: GNU General Public License version 3 or later. +# There is NO WARRANTY, to the extent permitted by law. + +EAPI=5 + +inherit games + +DESCRIPTION="Master of Orion 2 Data Files" +SRC_URI="gog_master_of_orion_2_2.0.0.5.sh" + +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="fetch" + +DEPEND="app-arch/unzip" + +src_unpack() { + ( unzip -LLqd $P "$DISTDIR/$A" || exit $(($?>1)) ) || + die "Failed to extract $A" +} + +src_install() { + insinto "$GAMES_DATADIR/$PN" + doins data/noarch/data/*.lbx + + prepgamesdirs +}