summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-05-06 22:32:24 +0200
committerMichał Górny <mgorny@gentoo.org>2018-05-07 09:41:48 +0200
commitbda6d06a6ac9e522a8f432c8bfe2284ac44a6de0 (patch)
treee7db3af025e683cac172c2045d836401839c962c /games-rpg/soltys
parentgames-rpg/dreamweb: Remove unnecessary use of unpacker (diff)
downloadgentoo-bda6d06a6ac9e522a8f432c8bfe2284ac44a6de0.tar.gz
gentoo-bda6d06a6ac9e522a8f432c8bfe2284ac44a6de0.tar.bz2
gentoo-bda6d06a6ac9e522a8f432c8bfe2284ac44a6de0.zip
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.
Diffstat (limited to 'games-rpg/soltys')
-rw-r--r--games-rpg/soltys/soltys-1.0-r2.ebuild10
1 files 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 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
}