summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 22:56:58 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 22:56:58 +0300
commitf585379fd4c4342c8f90c207451174191bf1fad8 (patch)
tree2b4933860c4c1b98cbbe302d0152f563db2a22b2
parentgames-action/psychonauts: update version (diff)
downloadgamerlay-f585379fd4c4342c8f90c207451174191bf1fad8.tar.gz
gamerlay-f585379fd4c4342c8f90c207451174191bf1fad8.tar.bz2
gamerlay-f585379fd4c4342c8f90c207451174191bf1fad8.zip
games-action/hammerfight: 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-action/hammerfight/Manifest22
-rw-r--r--games-action/hammerfight/hammerfight-20110812.ebuild26
-rw-r--r--games-action/hammerfight/metadata.xml2
3 files changed, 14 insertions, 36 deletions
diff --git a/games-action/hammerfight/Manifest b/games-action/hammerfight/Manifest
index 727b1a2..7454457 100644
--- a/games-action/hammerfight/Manifest
+++ b/games-action/hammerfight/Manifest
@@ -1,21 +1 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-DIST hf-linux-08122011-bin 28179310 SHA256 3ab722b36ae4df104b8415a138874df9390c00e3a8250156eab2496b74c4a2b4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBCAAGBQJQlghaAAoJECZQPTSbOzNLn+kP/Aw9CNIjivwNrqSVbcDe6+ge
-mcMJZnJ1DEl+sVBRSrpRTF9KmeHdPXs49Hu18Luf4SPaWgtr2y6U213WedrF9elZ
-ObuoneNHS0z3b6MIZvwVNbxhy5JdOIfNqnjiGY+tUE3HLCXOz2b6AaeALnqLscHb
-Fhyv9QXE6+Cvu5PKHuyIf9VksT84XXKCq66eCOWnipEiQmogUcLm0Vkso4Sbgz7W
-opecwjUqXcM8g5MDnintMGaN0cOYt2c3mkkEpIe4RS95XH8F0sItqgIsjimmWLC8
-jlkVZAxtvLfslmEJ9COtibbwdo8uWL8nv7iR2e3U3WEBI0V1HwkwgTp9f6bKcE7A
-0G7eibcKaI66i6YcKM4tlZ4684Uy96U/CHuDktv9xX4ThSNXLf1wchFRuWCJJwfz
-47EKJ4E43Om5LegophRoLVuwhOdw27Pj1bOczPfKXXiOyZtFGfzQyEBvjkJ52gcF
-jUJb6aqLiZu1nqaanDadpJgepH27XBcAZ9buw/h4z0kN0AWPVd/IwUy9Fz4uJIrj
-hLUv4cD+mzjajJ1Clq7iw3vXUaYNCL1lM/UV1R+gKe/dGQga/1baskbppLhxsXAT
-J8CVrWFhhet0ocxEOqaiRKjY2o9OWK8V8jifZP2kd0BlXSiq3WYK2EI5hkCAhOkK
-UkV9Lmbm71VS9Crcz48j
-=4jli
------END PGP SIGNATURE-----
+DIST hf-linux-08122011-bin 28179310 SHA256 3ab722b36ae4df104b8415a138874df9390c00e3a8250156eab2496b74c4a2b4 SHA512 b71a7d8890c5fdac3d9583b7f9274c33a3283165b768595cee1050c13f1bd7565b256e3fd848007cf9ce78cced452cb94d0d5f1fc07af46f5d23c016e89b1e3e WHIRLPOOL cf9043f21ecd1440f39bc963ed65601b12a0bf9c9858f5ebb86a8ab35c3ed8f168fda3bf55f71cba2645e90f246bf1fc539dd2aaec69a33cffdbd2ecf1ef44c4
diff --git a/games-action/hammerfight/hammerfight-20110812.ebuild b/games-action/hammerfight/hammerfight-20110812.ebuild
index b63181a..e066430 100644
--- a/games-action/hammerfight/hammerfight-20110812.ebuild
+++ b/games-action/hammerfight/hammerfight-20110812.ebuild
@@ -1,19 +1,18 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-EAPI=3
+EAPI=7
-inherit eutils games
+inherit desktop eutils
-DESCRIPTION="2D battles of flying machines equipped with various slashing, piercing and blunt weaponry"
+DESCRIPTION="2D battles of flying machines equipped with various weaponry"
HOMEPAGE="http://www.koshutin.com/"
SRC_URI="hf-linux-${PV:4}${PV:0:4}-bin"
LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="linguas_ru"
+IUSE="l10n_ru"
DEPEND="app-arch/unzip"
RDEPEND="media-libs/libsdl[joystick,sound,video]
@@ -21,8 +20,7 @@ RDEPEND="media-libs/libsdl[joystick,sound,video]
RESTRICT="fetch"
-S="${WORKDIR}"/data
-dir="${GAMES_PREFIX_OPT}/${PN}"
+S="${WORKDIR}/data"
pkg_nofetch() {
ewarn
@@ -36,8 +34,10 @@ src_unpack() {
}
src_install() {
+ local dir="/opt/${PN}"
+ local exe
- if use linguas_ru ; then
+ if use l10n_ru ; then
einfo "Russian is chosen for primary language"
mv Data/Dialogs/{russian,english}.seria
fi
@@ -47,17 +47,15 @@ src_install() {
|| die "doins failed"
if use amd64 ; then
- local exe=Hammerfight-amd64
+ exe=Hammerfight-amd64
fi
if use x86 ; then
- local exe=Hammerfight-x86
+ exe=Hammerfight-x86
fi
exeinto "${dir}"
doexe ${exe} || die "doexe failed"
- games_make_wrapper ${PN} ./${exe} "${dir}" "${dir}"
+ make_wrapper ${PN} ./${exe} "${dir}" "${dir}"
doicon ${PN}.png
make_desktop_entry ${PN} "Hammerfight" ${PN}
-
- prepgamesdirs
}
diff --git a/games-action/hammerfight/metadata.xml b/games-action/hammerfight/metadata.xml
index 9a04622..38b700b 100644
--- a/games-action/hammerfight/metadata.xml
+++ b/games-action/hammerfight/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>azamat.hackimov@gmail.com</email>
<name>Azamat H. Hackimov</name>
</maintainer>