commit:     1fc95cd78a77bdd1dd6072fb2b639a71ea83b279
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Jan 28 16:17:18 2018 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sun Jan 28 16:17:18 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=1fc95cd7

games-fps/brutal-doom: update to latest available

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Manifest-Sign-Key: A018DE8C

 ...brutal-doom-20b.ebuild => brutal-doom-20b_p3.ebuild} | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/games-fps/brutal-doom/brutal-doom-20b.ebuild 
b/games-fps/brutal-doom/brutal-doom-20b_p3.ebuild
similarity index 60%
rename from games-fps/brutal-doom/brutal-doom-20b.ebuild
rename to games-fps/brutal-doom/brutal-doom-20b_p3.ebuild
index d6a5523..6524f26 100644
--- a/games-fps/brutal-doom/brutal-doom-20b.ebuild
+++ b/games-fps/brutal-doom/brutal-doom-20b_p3.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
 EAPI=6
 
+MY_PV=${PV/p/R}
+
 DESCRIPTION="A mod that attempts to make Doom faster placed, harder, gorier 
and more violent."
 HOMEPAGE="http://www.moddb.com/mods/brutal-doom/";
-SRC_URI="http://www.moddb.com/downloads/mirror/95667/102/0a5526fb58bc1f38fee7e14f586ddd7b
 -> brutal${PV}.zip"
+SRC_URI="http://www.moddb.com/downloads/mirror/122563/102/d740616df58ec6ef1495c9b094f06b13
 -> BrutalDoomv${MY_PV}.zip"
 
 LICENSE="HPND"
 SLOT="0"
@@ -14,20 +15,22 @@ KEYWORDS="~amd64 ~x86"
 # TODO Add USEs for zdoom and skulltag
 IUSE=""
 
-RDEPEND=">=games-fps/zdoom-2.7.0"
+RDEPEND="|| (
+       >=games-fps/zdoom-2.7.0
+       >=games-fps/gzdoom-3.0.0 )
+       "
 DEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
 
 src_install() {
        insinto "/usr/share/doom-data"
-       doins brutalv${PV}.pk3
-       dodoc *.rtf
+       doins brutalv20b_R.pk3
 }
 
 pkg_postinst() {
        echo
        elog "In order to play this mod run zdoom with -file option:"
-       elog "    zdoom -file /usr/share/doom-data/brutalv${PV}.pk3"
+       elog "    [g]zdoom -file /usr/share/doom-data/brutalv20b_R.pk3"
        echo
 }

Reply via email to