diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-06-03 03:56:19 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-06-03 03:56:19 +0000 |
commit | 923a1cb04d81032cfdb368a424a4336feb74e672 (patch) | |
tree | 55b748d4ab97c6fb087213089be3f25ccd3bf20c /games-rpg/nwn-data | |
parent | Stable on x86; bug #134168 (diff) | |
download | gentoo-2-923a1cb04d81032cfdb368a424a4336feb74e672.tar.gz gentoo-2-923a1cb04d81032cfdb368a424a4336feb74e672.tar.bz2 gentoo-2-923a1cb04d81032cfdb368a424a4336feb74e672.zip |
needs unzip (bug #135338) - reported by Ryan Hill
(Portage version: 2.1_rc3-r4)
Diffstat (limited to 'games-rpg/nwn-data')
-rw-r--r-- | games-rpg/nwn-data/ChangeLog | 5 | ||||
-rw-r--r-- | games-rpg/nwn-data/nwn-data-1.29.ebuild | 34 |
2 files changed, 22 insertions, 17 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog index b167b6495208..9bb8c9d73fb0 100644 --- a/games-rpg/nwn-data/ChangeLog +++ b/games-rpg/nwn-data/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-rpg/nwn-data # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.12 2006/03/31 21:37:23 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.13 2006/06/03 03:56:19 mr_bones_ Exp $ + + 03 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> nwn-data-1.29.ebuild: + needs unzip (bug #135338) - reported by Ryan Hill 31 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: Changed nomirror to mirror and nostrip to strip. diff --git a/games-rpg/nwn-data/nwn-data-1.29.ebuild b/games-rpg/nwn-data/nwn-data-1.29.ebuild index aa3d66fb5519..a3a0c15a7a20 100644 --- a/games-rpg/nwn-data/nwn-data-1.29.ebuild +++ b/games-rpg/nwn-data/nwn-data-1.29.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.13 2006/03/31 21:37:23 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.14 2006/06/03 03:56:19 mr_bones_ Exp $ inherit eutils games @@ -34,10 +34,12 @@ RDEPEND="virtual/opengl >=media-libs/libsdl-1.2.5 amd64? ( app-emulation/emul-linux-x86-baselibs )" +DEPEND="${RDEPEND} + app-arch/unzip" S=${WORKDIR}/nwn -GAMES_LICENSE_CHECK="yes" +GAMES_LICENSE_CHECK=yes dir=${GAMES_PREFIX_OPT}/nwn Ddir=${D}/${dir} @@ -97,10 +99,10 @@ src_unpack() { fi if use sou then - unzip -o ${CDROM_ROOT}/Data_Shared.zip - unzip -o ${CDROM_ROOT}/Language_data.zip - unzip -o ${CDROM_ROOT}/Language_update.zip - unzip -o ${CDROM_ROOT}/Data_Linux.zip + unzip -o "${CDROM_ROOT}"/Data_Shared.zip + unzip -o "${CDROM_ROOT}"/Language_data.zip + unzip -o "${CDROM_ROOT}"/Language_update.zip + unzip -o "${CDROM_ROOT}"/Data_Linux.zip rm -f data/patch.bif patch.key touch .metadata/sou || die "touching sou" fi @@ -112,9 +114,9 @@ src_unpack() { cdrom_load_next_cd fi rm -f data/patch.bif patch.key - unzip -o ${CDROM_ROOT}/Data_Shared.zip - unzip -o ${CDROM_ROOT}/Language_data.zip - unzip -o ${CDROM_ROOT}/Language_update.zip + unzip -o "${CDROM_ROOT}"/Data_Shared.zip + unzip -o "${CDROM_ROOT}"/Language_data.zip + unzip -o "${CDROM_ROOT}"/Language_update.zip touch .metadata/hou || die "touching hou" fi @@ -137,12 +139,12 @@ src_install() { "${S}"/nwserver "${S}"/nwm/* "${S}"/SDL-1.2.5 "${S}"/fixinstall mv "${S}"/* "${Ddir}" mv "${S}"/.metadata "${Ddir}" - keepdir ${dir}/servervault - keepdir ${dir}/scripttemplates - keepdir ${dir}/saves - keepdir ${dir}/portraits - keepdir ${dir}/hak - cd ${Ddir} + keepdir "${dir}"/servervault + keepdir "${dir}"/scripttemplates + keepdir "${dir}"/saves + keepdir "${dir}"/portraits + keepdir "${dir}"/hak + cd "${Ddir}" for d in ambient data dmvault hak localvault music override portraits do if [ -d ${d} ] @@ -155,7 +157,7 @@ src_install() { mv ${f} $(echo ${f} | tr [:upper:] [:lower:]) fi done - cd ${Ddir} + cd "${Ddir}" fi done if ! use sou && ! use hou && use nowin |