summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-04 01:41:38 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-04 01:41:38 +0300
commit19f25181a8298bac562f88a4de86d12b53753b08 (patch)
tree59db9ab01f3f0f54bab98ccb67743592a5ce144d
parentgames-strategy/worms-reloaded: update package (diff)
downloadgamerlay-19f25181a8298bac562f88a4de86d12b53753b08.tar.gz
gamerlay-19f25181a8298bac562f88a4de86d12b53753b08.tar.bz2
gamerlay-19f25181a8298bac562f88a4de86d12b53753b08.zip
games-strategy/swordsandsoldiers: 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>
-rw-r--r--games-strategy/swordsandsoldiers/metadata.xml2
-rw-r--r--games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild (renamed from games-strategy/swordsandsoldiers/swordsandsoldiers-20120325.ebuild)15
2 files changed, 7 insertions, 10 deletions
diff --git a/games-strategy/swordsandsoldiers/metadata.xml b/games-strategy/swordsandsoldiers/metadata.xml
index 70137f0..599fe17 100644
--- a/games-strategy/swordsandsoldiers/metadata.xml
+++ b/games-strategy/swordsandsoldiers/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>mva@mva.name</email>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
diff --git a/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325.ebuild b/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild
index 68cb0fe..c5c3ff3 100644
--- a/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325.ebuild
+++ b/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2012 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
+inherit desktop eutils
DESCRIPTION="A vibrant, side-scrolling strategy game."
HOMEPAGE="http://www.swordsandsoldiers.com/"
@@ -13,7 +12,7 @@ SRC_URI="
amd64? ( ${P}-amd64.tar.gz )
"
RESTRICT="fetch strip"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
@@ -83,8 +82,8 @@ src_install() {
newicon "SwordsAndSoldiersSetup.png" "${PN}-setup.png"
make_desktop_entry "${PN}" "Swords & Soldiers" "${PN}"
make_desktop_entry "${PN}-setup" "Swords & Soldiers (setup)" "${PN}-setup"
- games_make_wrapper "${PN}" "./SwordsAndSoldiers.bin" "${dir}"
- games_make_wrapper "${PN}-setup" "./SwordsAndSoldiersSetup.bin" "${dir}"
+ make_wrapper "${PN}" "./SwordsAndSoldiers.bin" "${dir}"
+ make_wrapper "${PN}-setup" "./SwordsAndSoldiersSetup.bin" "${dir}"
exeinto "${dir}"
insinto "${dir}"
doins -r "Data"
@@ -92,6 +91,4 @@ src_install() {
doins "SwordsAndSoldiersSetup.png"
doexe "./SwordsAndSoldiers.bin"
doexe "./SwordsAndSoldiersSetup.bin"
-
- prepgamesdirs
}