summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 16:01:58 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 16:01:58 +0300
commit2256aea9e5ca8cafd7842b80ccaf4feebe23c656 (patch)
treee32e0a3a46e67ed211a004af61abda745a51f7ee /games-strategy
parentgames-simulation/kerbal-space-program: minor fixes (diff)
downloadgamerlay-2256aea9e5ca8cafd7842b80ccaf4feebe23c656.tar.gz
gamerlay-2256aea9e5ca8cafd7842b80ccaf4feebe23c656.tar.bz2
gamerlay-2256aea9e5ca8cafd7842b80ccaf4feebe23c656.zip
games-strategy/defcon: minor fixes
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/defcon/defcon-1.6.1.ebuild29
1 files 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}"