public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/revenge-of-the-titans/
Date: Wed,  4 Mar 2020 00:08:32 +0000 (UTC)	[thread overview]
Message-ID: <1583276225.ce3d5dcc040cff3486772ffbb067b5a95e556de4.winterheart@gentoo> (raw)

commit:     ce3d5dcc040cff3486772ffbb067b5a95e556de4
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Mar  3 22:57:05 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Tue Mar  3 22:57:05 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=ce3d5dcc

games-strategy/revenge-of-the-titans: update package

Migrate from deprecated eclasses.

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

 games-strategy/revenge-of-the-titans/metadata.xml       |  2 +-
 ...0.ebuild => revenge-of-the-titans-1.80.20-r1.ebuild} | 17 +++++++----------
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/games-strategy/revenge-of-the-titans/metadata.xml b/games-strategy/revenge-of-the-titans/metadata.xml
index e7a6947..1f99ca3 100644
--- a/games-strategy/revenge-of-the-titans/metadata.xml
+++ b/games-strategy/revenge-of-the-titans/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
+<maintainer type="person">
 <email>azamat.hackimov@gmail.com</email>
 <name>Azamat H. Hackimov</name>
 </maintainer>

diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.20.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.20-r1.ebuild
similarity index 85%
rename from games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.20.ebuild
rename to games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.20-r1.ebuild
index 1f2b375..f80df78 100644
--- a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.20.ebuild
+++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.20-r1.ebuild
@@ -1,15 +1,14 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI=5
+EAPI=7
 
-inherit games java-pkg-2 versionator
+inherit desktop eutils java-pkg-2
 
 MY_PN=RevengeOfTheTitans
 # Divide second subversion by 10, i.e. 1.80.10 => 1810
 #MY_PV=$(version_format_string '${1}$((${2} / 10))${3}')
-MY_PV=$(delete_all_version_separators)
+MY_PV=$(ver_rs 1-2 "")
 
 DESCRIPTION="Defeat the returning Titan horde in a series of epic ground battles."
 HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans/"
@@ -20,7 +19,7 @@ SRC_URI="hib? (
 	amd64? ( http://d4ec1k3inlcla.cloudfront.net/${MY_PN}-amd64.tar.gz -> ${P}-amd64.tar.gz )
 	x86? ( http://d4ec1k3inlcla.cloudfront.net/${MY_PN}-i386.tar.gz -> ${P}-i386.tar.gz )	)"
 
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 IUSE="hib"
@@ -31,7 +30,7 @@ DEPEND=""
 
 RESTRICT="mirror strip"
 
-dir="${GAMES_PREFIX_OPT}/${MY_PN}"
+dir="/opt/${MY_PN}"
 S="${WORKDIR}/revengeofthetitans"
 
 pkg_nofetch() {
@@ -60,9 +59,7 @@ src_install() {
 	exeinto "${dir}"
 	doexe *.so revenge.sh || die "doexe"
 
-	games_make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}"
+	make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}"
 	doicon revenge.png
 	make_desktop_entry ${PN} "Revenge of the Titans" revenge
-
-	prepgamesdirs
 }


             reply	other threads:[~2020-03-04  0:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04  0:08 Azamat H. Hackimov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-04 16:47 [gentoo-commits] proj/gamerlay:master commit in: games-strategy/revenge-of-the-titans/ Azamat H. Hackimov
2012-11-25 17:09 Azamat H. Hackimov
2012-11-25 17:02 Azamat H. Hackimov
2012-06-03 16:05 Azamat H. Hackimov
2011-06-12 14:46 Azamat H. Hackimov
2011-04-13 16:42 Azamat H. Hackimov
2011-03-13  5:05 Azamat H. Hackimov
2011-03-07 13:27 Azamat H. Hackimov
2011-03-02 16:16 Azamat H. Hackimov
2011-02-27 23:01 Azamat H. Hackimov
2011-02-23 22:06 Azamat H. Hackimov
2011-02-21 21:03 Azamat H. Hackimov
2011-02-20 18:56 Azamat H. Hackimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1583276225.ce3d5dcc040cff3486772ffbb067b5a95e556de4.winterheart@gentoo \
    --to=winterheart@gentoo.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox