diff options
Diffstat (limited to 'games-fps/quake3/quake3-9999.ebuild')
-rw-r--r-- | games-fps/quake3/quake3-9999.ebuild | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/games-fps/quake3/quake3-9999.ebuild b/games-fps/quake3/quake3-9999.ebuild index 5a58d6cd6e0f..5ca9661954ee 100644 --- a/games-fps/quake3/quake3-9999.ebuild +++ b/games-fps/quake3/quake3-9999.ebuild @@ -7,9 +7,9 @@ # quake3-VER_alphaREV -> git snapshot REV for version VER # quake3-VER -> normal quake release -EAPI=2 -inherit eutils flag-o-matic games toolchain-funcs -[[ "${PV}" == 9999* ]] && inherit git-2 +EAPI=5 +inherit eutils flag-o-matic toolchain-funcs games +[[ "${PV}" == 9999* ]] && inherit git-r3 MY_PN="ioquake3" MY_PV="${PV}" @@ -45,9 +45,7 @@ RDEPEND="${DEPEND} games-fps/quake3-data teamarena? ( games-fps/quake3-teamarena )" -if [[ "${PV}" == 9999* ]] ; then - S="${WORKDIR}/trunk" -else +if [[ "${PV}" != 9999* ]] ; then S="${WORKDIR}/${MY_P}" fi @@ -98,18 +96,17 @@ src_compile() { USE_MUMBLE=$(buildit mumble) \ USE_OPENAL=$(buildit openal) \ USE_OPENAL_DLOPEN=0 \ - USE_VOIP=$(buildit voice) \ - || die "emake failed" + USE_VOIP=$(buildit voice) } src_install() { - dodoc BUGS ChangeLog id-readme.txt md4-readme.txt NOTTODO README.md opengl2-readme.txt TODO voip-readme.txt || die + dodoc BUGS ChangeLog id-readme.txt md4-readme.txt NOTTODO README.md TODO voip-readme.txt if use voice ; then - dodoc voip-readme.txt || die + dodoc voip-readme.txt fi if use opengl || ! use dedicated ; then - doicon misc/quake3.svg || die + doicon misc/quake3.svg make_desktop_entry quake3 "Quake III Arena" #use smp && make_desktop_entry quake3-smp "Quake III Arena (SMP)" fi @@ -118,8 +115,8 @@ src_install() { local exe for exe in ioquake3 ioquake3-smp ioq3ded ; do if [[ -x ${exe} ]] ; then - dogamesbin ${exe} || die "dogamesbin ${exe}" - dosym ${exe} "${GAMES_BINDIR}/${exe/io}" || die "dosym ${exe}" + dogamesbin ${exe} + dosym ${exe} "${GAMES_BINDIR}/${exe/io}" fi done @@ -127,7 +124,7 @@ src_install() { # this should be done through 'dogameslib', but # for this some files need to be patched exeinto "${GAMES_DATADIR}/${PN}" - doexe renderer*.so || die 'install renderers failed' + doexe renderer*.so prepgamesdirs } |