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"