diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-08-23 21:23:10 +0200 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-08-23 21:23:33 +0200 |
commit | 798f3ba9fcc41b99adcf23cad2185d0498fe4251 (patch) | |
tree | 457cdb0671194fa195e465509116db9b22b49e53 /games-fps/duke3d-data | |
parent | games-rpg/arx-fatalis-data: revision bump for the gog version (diff) | |
download | gentoo-798f3ba9fcc41b99adcf23cad2185d0498fe4251.tar.gz gentoo-798f3ba9fcc41b99adcf23cad2185d0498fe4251.tar.bz2 gentoo-798f3ba9fcc41b99adcf23cad2185d0498fe4251.zip |
games-fps/duke3d-data: revbump to update gog file
Diffstat (limited to 'games-fps/duke3d-data')
-rw-r--r-- | games-fps/duke3d-data/Manifest | 2 | ||||
-rw-r--r-- | games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild (renamed from games-fps/duke3d-data/duke3d-data-1.0-r2.ebuild) | 17 |
2 files changed, 12 insertions, 7 deletions
diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest index 87fedf379202..631018258c09 100644 --- a/games-fps/duke3d-data/Manifest +++ b/games-fps/duke3d-data/Manifest @@ -1 +1 @@ -DIST gog_duke_nukem_3d_1.0.0.7.tar.gz 30376296 SHA256 ba81c81d5f35f3aa424d30d9ab1c8441f8967bf4776cc85299efc95eea257ea3 SHA512 d0471bdc65b1030e080de382fea661d78348769d13bca2115ba1fb22aa2de54298bcaa4807c7315d0e2e4eefcc04bc9489d4e4c75fe0db1e99dd0ccd4e138450 WHIRLPOOL 4766138fd3decf78db00e7b6d6ad8128d742454573b56a880b94dba63b7de2438afc0e402e22eca0f0c6ca589f78ef6a28cfd0fbe5e62e40e3ce7427b2daa5fd +DIST gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh 31823668 SHA256 7c70e60c621a13bdc2cd34048022df638ad478cae646f338021f7deea411f63b SHA512 9c74299ac2db58aed4eb50367e15124bea6073cdba6ba5f403032a292d141ba734943af4c15e776cc0a4087a6f92c85d2413a1a525660b75aa0da457b2fac378 WHIRLPOOL dde14e901711b17c87d5edc92587ef4c999c1ffdcf9c67f5527c92b65cd1d23774149dee12c7e9055a476d0b266acbb23519602e32a80a99f47dc3f9d751b44d diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r2.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild index 0933f550621e..e57d6ef5afea 100644 --- a/games-fps/duke3d-data/duke3d-data-1.0-r2.ebuild +++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 CDROM_OPTIONAL="yes" -inherit eutils cdrom games +inherit eutils cdrom unpacker games -GOG_FILE="gog_duke_nukem_3d_1.0.0.7.tar.gz" +GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh" DESCRIPTION="Duke Nukem 3D data files" HOMEPAGE="http://www.3drealms.com/" SRC_URI="gog? ( ${GOG_FILE} )" @@ -44,8 +44,13 @@ src_unpack() { die "Error locating data files."; fi else - unpack "${GOG_FILE}" - cd "Duke Nukem 3D/data" || die + 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 + cd data/noarch/data || die # convert to lowercase find . -type f \ @@ -70,7 +75,7 @@ src_install() { # avoid double slash doins "${CDROM_ROOT}"/${DATAROOT}{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con} else - doins "Duke Nukem 3D/data"/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con} + doins data/noarch/data/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con} fi prepgamesdirs |