Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/vcmi-data/
Date: Wed, 04 Mar 2020 00:08:37
Message-Id: 1583275932.8ada028b07b05112131cdfe9eed6df6236f2a62d.winterheart@gentoo
1 commit: 8ada028b07b05112131cdfe9eed6df6236f2a62d
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 3 22:52:12 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Tue Mar 3 22:52:12 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8ada028b
7
8 games-strategy/vcmi-data: update package
9
10 Migrate from deprecated eclass.
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 games-strategy/vcmi-data/metadata.xml | 4 ++++
16 .../{vcmi-data-0.99.ebuild => vcmi-data-0.99-r1.ebuild} | 13 +++++--------
17 2 files changed, 9 insertions(+), 8 deletions(-)
18
19 diff --git a/games-strategy/vcmi-data/metadata.xml b/games-strategy/vcmi-data/metadata.xml
20 new file mode 100644
21 index 0000000..097975e
22 --- /dev/null
23 +++ b/games-strategy/vcmi-data/metadata.xml
24 @@ -0,0 +1,4 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 +</pkgmetadata>
29
30 diff --git a/games-strategy/vcmi-data/vcmi-data-0.99.ebuild b/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
31 similarity index 83%
32 rename from games-strategy/vcmi-data/vcmi-data-0.99.ebuild
33 rename to games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
34 index 8f0571e..4fe5be9 100644
35 --- a/games-strategy/vcmi-data/vcmi-data-0.99.ebuild
36 +++ b/games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild
37 @@ -1,10 +1,7 @@
38 -# Copyright 1999-2012 Gentoo Foundation
39 +# Copyright 1999-2020 Gentoo Authors
40 # Distributed under the terms of the GNU General Public License v2
41 -# $Header: $
42
43 -EAPI=5
44 -
45 -inherit games
46 +EAPI=7
47
48 DESCRIPTION="Core data for vcmi"
49 HOMEPAGE="http://forum.vcmi.eu/index.php"
50 @@ -16,7 +13,7 @@ SRC_URI="
51
52 LICENSE="GPL-2"
53 SLOT="0"
54 -KEYWORDS="~x86 ~amd64"
55 +KEYWORDS="~amd64 ~x86"
56 IUSE=""
57
58 DEPEND="app-arch/unzip"
59 @@ -25,7 +22,7 @@ RDEPEND=""
60 S="${WORKDIR}"
61
62 src_install() {
63 - insinto "${GAMES_DATADIR}/${PN%-data}"
64 + insinto "/usr/share/${PN%-data}"
65 rm -rf Mods/vcmi/Data/s
66 doins -r *
67 }
68 @@ -34,7 +31,7 @@ pkg_postinst() {
69 elog "For the game to work properly, please copy your"
70 elog 'Heroes Of Might and Magic ("The Wake Of Gods" or'
71 elog '"Shadow of Death" or "Complete edition")'
72 - elog "game directory into ${GAMES_DATADIR}/${PN}."
73 + elog "game directory into /usr/share/${PN}."
74 elog "or use 'vcmibuilder' utility on your:"
75 elog " a) One or two CD's or CD images"
76 elog " b) gog.com installer"