games-rpg/soltys: Remove unnecessary use of unpacker
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 May 2018 20:32:24 +0000 (22:32 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 7 May 2018 07:41:48 +0000 (09:41 +0200)
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

index e709836c31e97916d4cf6d3954a80cbe15eb1bbc..f3e8b8ccb22a2c6269e79ba21013fb932380f9c2 100644 (file)
@@ -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
 }