diff options
-rw-r--r-- | games-fps/doom3-data/doom3-data-1.1.1282-r1.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/games-fps/doom3-data/doom3-data-1.1.1282-r1.ebuild b/games-fps/doom3-data/doom3-data-1.1.1282-r1.ebuild index 387a7fce5681..656b6a7166c2 100644 --- a/games-fps/doom3-data/doom3-data-1.1.1282-r1.ebuild +++ b/games-fps/doom3-data/doom3-data-1.1.1282-r1.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ +EAPI=5 inherit eutils cdrom games DESCRIPTION="Doom 3 - data portion" @@ -26,18 +27,15 @@ src_install() { insinto "${GAMES_PREFIX_OPT}"/doom3/base einfo "Copying files from CD 1..." - doins "${CDROM_ROOT}"/Setup/Data/base/pak002.pk4 \ - || die "doins pak002.pk4 failed" + doins "${CDROM_ROOT}"/Setup/Data/base/pak002.pk4 cdrom_load_next_cd einfo "Copying files from CD 2..." - doins "${CDROM_ROOT}"/Setup/Data/base/pak00{0,1}.pk4 \ - || die "doins pak00{0,1}.pk4 failed" + doins "${CDROM_ROOT}"/Setup/Data/base/pak00{0,1}.pk4 cdrom_load_next_cd einfo "Copying files from CD 3..." - doins "${CDROM_ROOT}"/Setup/Data/base/pak00{3,4}.pk4 \ - || die "doins pak00{3,4}.pk4 failed" + doins "${CDROM_ROOT}"/Setup/Data/base/pak00{3,4}.pk4 prepgamesdirs } |