commit:     bda6d06a6ac9e522a8f432c8bfe2284ac44a6de0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  6 20:32:24 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  7 07:41:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda6d06a

games-rpg/soltys: Remove unnecessary use of unpacker

Replace the unnecessary use of unpacker.eclass with built-in EAPI
unpacking.  This also fixes missing dependency on app-arch/unzip
due to unpacker.eclass being broken with complex SRC_URIs in EAPI 6.

 games-rpg/soltys/soltys-1.0-r2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild 
b/games-rpg/soltys/soltys-1.0-r2.ebuild
index e709836c31e..f3e8b8ccb22 100644
--- a/games-rpg/soltys/soltys-1.0-r2.ebuild
+++ b/games-rpg/soltys/soltys-1.0-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit unpacker eutils
+inherit eutils
 
 DESCRIPTION="Classic adventure game"
 HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys";
@@ -18,24 +18,24 @@ KEYWORDS="~amd64 ~x86"
 IUSE="l10n_en l10n_es l10n_pl"
 
 RDEPEND=">=games-engines/scummvm-1.5"
-DEPEND="$(unpacker_src_uri_depends)"
+DEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
 
 src_unpack() {
        if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; 
then
                mkdir -p en || die
-               unpacker ${PN}-en-v${PV}.zip
+               unpack ${PN}-en-v${PV}.zip
                mv vol.{cat,dat} en/ || die
        fi
        if use l10n_es ; then
                mkdir -p es || die
-               unpacker ${PN}-es-v${PV}.zip
+               unpack ${PN}-es-v${PV}.zip
                mv soltys-es-v1-0/vol.{cat,dat} es/ || die
        fi
        if use l10n_pl ; then
                mkdir -p pl || die
-               unpacker ${PN}-pl-v${PV}.zip
+               unpack ${PN}-pl-v${PV}.zip
                mv vol.{cat,dat} pl/ || die
        fi
 }

Reply via email to