diff options
author | 2015-02-01 02:55:58 +0100 | |
---|---|---|
committer | 2015-02-01 03:44:26 +0100 | |
commit | b205cf2038e4e8eb3235b287600250c40c73ae0a (patch) | |
tree | 4a13adcf6696b34b5d8291076dd0810e2b2e7e59 /games-rpg | |
parent | farsky - revise version scheme (diff) | |
download | eroen-b205cf2038e4e8eb3235b287600250c40c73ae0a.tar.gz eroen-b205cf2038e4e8eb3235b287600250c40c73ae0a.tar.bz2 eroen-b205cf2038e4e8eb3235b287600250c40c73ae0a.zip |
farsky - clean up unpacking
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/farsky/farsky-2.01.00.ebuild | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/games-rpg/farsky/farsky-2.01.00.ebuild b/games-rpg/farsky/farsky-2.01.00.ebuild index 062d0a5..7179f61 100644 --- a/games-rpg/farsky/farsky-2.01.00.ebuild +++ b/games-rpg/farsky/farsky-2.01.00.ebuild @@ -7,6 +7,7 @@ EAPI=5 inherit eutils gnome2-utils java-pkg-2 games MY_PN=FarSky +# PV is taken from version.html DESCRIPTION="Gather resources and protect yourself in the Ocean depths" HOMEPAGE="http://www.farskygame.com" @@ -53,12 +54,21 @@ pkg_setup() { src_unpack() { default ( set +x ; while true ; do echo n || break ; done ) | \ - unzip -qo "$S"/FarSky/FarSky.jar || die "failed to unzip FarSky.jar" + unzip -qo "$S"/FarSky/FarSky.jar \ + installFiles/farsky.jar \ + installFiles/libraries.zip \ + installFiles/version.html \ + || die "failed to unzip FarSky.jar" ( set +x ; while true ; do echo n || break ; done ) | \ - unzip -qo "$S"/installFiles/libraries.zip || die "failed to unzip libraries.zip" + unzip -qo "$S"/installFiles/libraries.zip \ + native/linux/\* \ + lib/\* \ + || die "failed to unzip libraries.zip" # for icon ( set +x ; while true ; do echo n || break ; done ) | \ - unzip -qo "$S"/installFiles/farsky.jar res/textures/gui/icon.png || die "failed to unzip libraries.zip" + unzip -qo "$S"/installFiles/farsky.jar \ + res/textures/gui/icon.png \ + || die "failed to unzip libraries.zip" } src_prepare() { |