commit: 4089b4dc1238454414d1c8c358c8745cd639cd63 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun May 6 20:28:18 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=4089b4dc
games-rpg/draci-historie: 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/draci-historie/draci-historie-2012-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild index 8998b3837a2..3982a8538d1 100644 --- a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild +++ b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils unpacker +inherit eutils DESCRIPTION="Bert the little dragon searches for his father" HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html" @@ -21,29 +21,29 @@ KEYWORDS="~amd64 ~x86" IUSE="l10n_cs l10n_de l10n_en l10n_pl" RDEPEND=">=games-engines/scummvm-1.1" -DEPEND="$(unpacker_src_uri_depends)" +DEPEND="app-arch/unzip" S="${WORKDIR}" src_unpack() { if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then mkdir en || die - unpacker dh-en-${PV}.zip + unpack dh-en-${PV}.zip mv *.{dfw,fon,mid,sam} en/ || die fi if use l10n_cs ; then mkdir cs || die - unpacker dh-cz-${PV}.zip + unpack dh-cz-${PV}.zip mv *.{dfw,fon,mid,sam,zzz} cs/ || die fi if use l10n_de ; then mkdir de || die - unpacker dh-de-${PV}.zip + unpack dh-de-${PV}.zip mv *.{dfw,fon,mid,sam} de/ || die fi if use l10n_pl ; then mkdir pl || die - unpacker dh-pl-${PV}.zip + unpack dh-pl-${PV}.zip mv *.{dfw,fon,mid,sam,zzz} pl/ || die fi }