1 |
commit: 4089b4dc1238454414d1c8c358c8745cd639cd63 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 6 20:28:18 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 7 07:41:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4089b4dc |
7 |
|
8 |
games-rpg/draci-historie: Remove unnecessary use of unpacker |
9 |
|
10 |
Replace the unnecessary use of unpacker.eclass with built-in EAPI |
11 |
unpacking. This also fixes missing dependency on app-arch/unzip |
12 |
due to unpacker.eclass being broken with complex SRC_URIs in EAPI 6. |
13 |
|
14 |
games-rpg/draci-historie/draci-historie-2012-r1.ebuild | 12 ++++++------ |
15 |
1 file changed, 6 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild |
18 |
index 8998b3837a2..3982a8538d1 100644 |
19 |
--- a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild |
20 |
+++ b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild |
21 |
@@ -2,7 +2,7 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
-inherit eutils unpacker |
26 |
+inherit eutils |
27 |
|
28 |
DESCRIPTION="Bert the little dragon searches for his father" |
29 |
HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html" |
30 |
@@ -21,29 +21,29 @@ KEYWORDS="~amd64 ~x86" |
31 |
IUSE="l10n_cs l10n_de l10n_en l10n_pl" |
32 |
|
33 |
RDEPEND=">=games-engines/scummvm-1.1" |
34 |
-DEPEND="$(unpacker_src_uri_depends)" |
35 |
+DEPEND="app-arch/unzip" |
36 |
|
37 |
S="${WORKDIR}" |
38 |
|
39 |
src_unpack() { |
40 |
if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then |
41 |
mkdir en || die |
42 |
- unpacker dh-en-${PV}.zip |
43 |
+ unpack dh-en-${PV}.zip |
44 |
mv *.{dfw,fon,mid,sam} en/ || die |
45 |
fi |
46 |
if use l10n_cs ; then |
47 |
mkdir cs || die |
48 |
- unpacker dh-cz-${PV}.zip |
49 |
+ unpack dh-cz-${PV}.zip |
50 |
mv *.{dfw,fon,mid,sam,zzz} cs/ || die |
51 |
fi |
52 |
if use l10n_de ; then |
53 |
mkdir de || die |
54 |
- unpacker dh-de-${PV}.zip |
55 |
+ unpack dh-de-${PV}.zip |
56 |
mv *.{dfw,fon,mid,sam} de/ || die |
57 |
fi |
58 |
if use l10n_pl ; then |
59 |
mkdir pl || die |
60 |
- unpacker dh-pl-${PV}.zip |
61 |
+ unpack dh-pl-${PV}.zip |
62 |
mv *.{dfw,fon,mid,sam,zzz} pl/ || die |
63 |
fi |
64 |
} |