summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-08-23 22:24:12 +0200
committerJulian Ospald <hasufell@gentoo.org>2015-08-23 22:24:36 +0200
commite82ca5e038a73dd4c154ed48db74beca1532f342 (patch)
tree5b480b97e1dd92992af7944e5f778e7d3e931649 /games-fps
parentx11-plugins/wmail: EAPI bump, fix compilation with new libdockapp (diff)
downloadgentoo-e82ca5e038a73dd4c154ed48db74beca1532f342.tar.gz
gentoo-e82ca5e038a73dd4c154ed48db74beca1532f342.tar.bz2
gentoo-e82ca5e038a73dd4c154ed48db74beca1532f342.zip
games-fps/duke3d-data: simplify unpack phase
Apparently, unzip can handle the leading shell script fuzz just fine.
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index e57d6ef5afea..4be3b5b1c5e3 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -44,12 +44,7 @@ src_unpack() {
die "Error locating data files.";
fi
else
- dd \
- ibs="$(head -n 519 "${DISTDIR}/${GOG_FILE}" | wc -c | tr -d ' ')" \
- skip=1 \
- if="${DISTDIR}/${GOG_FILE}" \
- of="${T}"/${GOG_FILE}.zip || die
- unpack_zip "${T}"/${GOG_FILE}.zip
+ unpack_zip "${DISTDIR}"/${GOG_FILE}
cd data/noarch/data || die
# convert to lowercase