From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C8C92138350 for ; Sat, 29 Feb 2020 20:11:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4127E08AD; Sat, 29 Feb 2020 20:11:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 769A9E08AD for ; Sat, 29 Feb 2020 20:11:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D8B134F0B0 for ; Sat, 29 Feb 2020 20:11:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0653C156 for ; Sat, 29 Feb 2020 20:11:45 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1583006218.f585379fd4c4342c8f90c207451174191bf1fad8.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-action/hammerfight/hammerfight-20110812.ebuild games-action/hammerfight/metadata.xml X-VCS-Directories: games-action/hammerfight/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: f585379fd4c4342c8f90c207451174191bf1fad8 X-VCS-Branch: master Date: Sat, 29 Feb 2020 20:11:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1b09da38-15d8-42d1-8b98-99d69463167a X-Archives-Hash: 6c019f72aaa6ae1406f6a93c03e52100 commit: f585379fd4c4342c8f90c207451174191bf1fad8 Author: Azamat H. Hackimov gmail com> AuthorDate: Sat Feb 29 19:56:58 2020 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Sat Feb 29 19:56:58 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=f585379f 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 gmail.com> .../hammerfight/hammerfight-20110812.ebuild | 26 ++++++++++------------ games-action/hammerfight/metadata.xml | 2 +- 2 files changed, 13 insertions(+), 15 deletions(-) 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 @@ - + azamat.hackimov@gmail.com Azamat H. Hackimov