commit:     2256aea9e5ca8cafd7842b80ccaf4feebe23c656
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 13:01:58 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 13:01:58 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=2256aea9

games-strategy/defcon: minor fixes

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-strategy/defcon/defcon-1.6.1.ebuild | 29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

diff --git a/games-strategy/defcon/defcon-1.6.1.ebuild 
b/games-strategy/defcon/defcon-1.6.1.ebuild
index 5bd959c..d155858 100644
--- a/games-strategy/defcon/defcon-1.6.1.ebuild
+++ b/games-strategy/defcon/defcon-1.6.1.ebuild
@@ -1,33 +1,28 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils unpacker versionator
+inherit eutils unpacker
 
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="http://www.introversion.co.uk/defcon/";
-HOMEPAGE="Global thermonuclear war simulation with multiplayer support"
-BASE_URI="https://www.introversion.co.uk/defcon/downloads/${PN}_${MY_PV}___ARCH__.deb";
+HOMEPAGE="http://www.introversion.co.uk/defcon/";
+DESCRIPTION="Global thermonuclear war simulation with multiplayer support"
 SRC_URI="
-       x86? ( ${BASE_URI/__ARCH__/i386} )
-       amd64? ( ${BASE_URI/__ARCH__/amd64} )
+       x86? ( https://www.introversion.co.uk/defcon/downloads/${PN}_$(ver_rs 2 
-)_i386.deb )
+       amd64? ( https://www.introversion.co.uk/defcon/downloads/${PN}_$(ver_rs 
2 -)_amd64.deb )
 "
 
 LICENSE="Introversion"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 RESTRICT="strip"
 IUSE=""
 
-DEPEND=""
 RDEPEND="
-               ${DEPEND}
-               virtual/glu
-               media-libs/libogg
-               media-libs/libvorbis
-               media-libs/libsdl:0
+       virtual/glu
+       media-libs/libogg
+       media-libs/libvorbis
+       media-libs/libsdl:0
 "
 
 S="${WORKDIR}"

Reply via email to