public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-strategy/vcmi-data/
@ 2020-03-04  0:08 Azamat H. Hackimov
  0 siblings, 0 replies; 2+ messages in thread
From: Azamat H. Hackimov @ 2020-03-04  0:08 UTC (permalink / raw
  To: gentoo-commits

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

games-strategy/vcmi-data: update package

Migrate from deprecated eclass.

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

 games-strategy/vcmi-data/metadata.xml                       |  4 ++++
 .../{vcmi-data-0.99.ebuild => vcmi-data-0.99-r1.ebuild}     | 13 +++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/games-strategy/vcmi-data/metadata.xml b/games-strategy/vcmi-data/metadata.xml
new file mode 100644
index 0000000..097975e
--- /dev/null
+++ b/games-strategy/vcmi-data/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>

diff --git a/games-strategy/vcmi-data/vcmi-data-0.99.ebuild b/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
similarity index 83%
rename from games-strategy/vcmi-data/vcmi-data-0.99.ebuild
rename to games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
index 8f0571e..4fe5be9 100644
--- a/games-strategy/vcmi-data/vcmi-data-0.99.ebuild
+++ b/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
@@ -1,10 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI=5
-
-inherit games
+EAPI=7
 
 DESCRIPTION="Core data for vcmi"
 HOMEPAGE="http://forum.vcmi.eu/index.php"
@@ -16,7 +13,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="app-arch/unzip"
@@ -25,7 +22,7 @@ RDEPEND=""
 S="${WORKDIR}"
 
 src_install() {
-	insinto "${GAMES_DATADIR}/${PN%-data}"
+	insinto "/usr/share/${PN%-data}"
 	rm -rf Mods/vcmi/Data/s
 	doins -r *
 }
@@ -34,7 +31,7 @@ pkg_postinst() {
 	elog "For the game to work properly, please copy your"
 	elog 'Heroes Of Might and Magic ("The Wake Of Gods" or'
 	elog '"Shadow of Death" or "Complete edition")'
-	elog "game directory into ${GAMES_DATADIR}/${PN}."
+	elog "game directory into /usr/share/${PN}."
 	elog "or use 'vcmibuilder' utility on your:"
 	elog "   a) One or two CD's or CD images"
 	elog "   b) gog.com installer"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/gamerlay:master commit in: games-strategy/vcmi-data/
@ 2023-04-15 22:48 Vadim Misbakh-Soloviov
  0 siblings, 0 replies; 2+ messages in thread
From: Vadim Misbakh-Soloviov @ 2023-04-15 22:48 UTC (permalink / raw
  To: gentoo-commits

commit:     079e397511566559b116a5f2368f8e774a3e348b
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 21:07:05 2023 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 21:07:05 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=079e3975

games-strategy/vcmi-data: not needed anymore

Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>

 games-strategy/vcmi-data/metadata.xml             |  4 ---
 games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild | 42 -----------------------
 2 files changed, 46 deletions(-)

diff --git a/games-strategy/vcmi-data/metadata.xml b/games-strategy/vcmi-data/metadata.xml
deleted file mode 100644
index 097975e..0000000
--- a/games-strategy/vcmi-data/metadata.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-</pkgmetadata>

diff --git a/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild b/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
deleted file mode 100644
index 4fe5be9..0000000
--- a/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Core data for vcmi"
-HOMEPAGE="http://forum.vcmi.eu/index.php"
-MY_P="core"
-SRC_URI="
-	http://download.vcmi.eu/core.zip -> ${PN}-core-${PV}.zip
-	http://download.vcmi.eu/WoG/wog.zip -> ${PN}-wog-${PV}.zip
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-S="${WORKDIR}"
-
-src_install() {
-	insinto "/usr/share/${PN%-data}"
-	rm -rf Mods/vcmi/Data/s
-	doins -r *
-}
-
-pkg_postinst() {
-	elog "For the game to work properly, please copy your"
-	elog 'Heroes Of Might and Magic ("The Wake Of Gods" or'
-	elog '"Shadow of Death" or "Complete edition")'
-	elog "game directory into /usr/share/${PN}."
-	elog "or use 'vcmibuilder' utility on your:"
-	elog "   a) One or two CD's or CD images"
-	elog "   b) gog.com installer"
-	elog "   c) Directory with installed game"
-	elog "(although installing it in such way is 'bad practices')."
-	elog "For more information, please visit:"
-	elog "http://wiki.vcmi.eu/index.php?title=Installation_on_Linux"
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-15 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-04  0:08 [gentoo-commits] proj/gamerlay:master commit in: games-strategy/vcmi-data/ Azamat H. Hackimov
  -- strict thread matches above, loose matches on Subject: below --
2023-04-15 22:48 Vadim Misbakh-Soloviov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox