diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-03-04 01:52:12 +0300 |
---|---|---|
committer | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-03-04 01:52:12 +0300 |
commit | 8ada028b07b05112131cdfe9eed6df6236f2a62d (patch) | |
tree | 3c828b9af912354c21469af00fe4ce5ef4aa264c /games-strategy | |
parent | games-strategy/vcmi: minor fixes (diff) | |
download | gamerlay-8ada028b07b05112131cdfe9eed6df6236f2a62d.tar.gz gamerlay-8ada028b07b05112131cdfe9eed6df6236f2a62d.tar.bz2 gamerlay-8ada028b07b05112131cdfe9eed6df6236f2a62d.zip |
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@gmail.com>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/vcmi-data/metadata.xml | 4 | ||||
-rw-r--r-- | games-strategy/vcmi-data/vcmi-data-0.99-r1.ebuild (renamed from games-strategy/vcmi-data/vcmi-data-0.99.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 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" |