From: Michał Górny Date: Sun, 6 May 2018 20:32:24 +0000 (+0200) Subject: games-rpg/soltys: Remove unnecessary use of unpacker X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bda6d06a6ac9e522a8f432c8bfe2284ac44a6de0;p=gentoo.git 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. --- diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild b/games-rpg/soltys/soltys-1.0-r2.ebuild index e709836c31e9..f3e8b8ccb22a 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 }