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 1D18E138350 for ; Sat, 29 Feb 2020 01:15:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32EDAE08F1; Sat, 29 Feb 2020 01:15:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 08C94E08DC for ; Sat, 29 Feb 2020 01:15:40 +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 F338034F4B6 for ; Sat, 29 Feb 2020 01:15:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2ED09171 for ; Sat, 29 Feb 2020 01:15:34 +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: <1582937482.6e70a80f7b54fdff3cbe45bea13b5625490846af.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/tokitori/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-arcade/tokitori/metadata.xml games-arcade/tokitori/tokitori-20130703.ebuild X-VCS-Directories: games-arcade/tokitori/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: 6e70a80f7b54fdff3cbe45bea13b5625490846af X-VCS-Branch: master Date: Sat, 29 Feb 2020 01:15:34 +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: 6801a7af-4092-4124-8ab8-bb97d3cf20be X-Archives-Hash: bef4ad647dbb9388bd356ebb4c4afeab commit: 6e70a80f7b54fdff3cbe45bea13b5625490846af Author: Azamat H. Hackimov gmail com> AuthorDate: Sat Feb 29 00:51:22 2020 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Sat Feb 29 00:51:22 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=6e70a80f games-arcade/tokitori: update package Migrated from deprecated eclass. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov gmail.com> games-arcade/tokitori/metadata.xml | 4 ++++ games-arcade/tokitori/tokitori-20130703.ebuild | 25 +++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/games-arcade/tokitori/metadata.xml b/games-arcade/tokitori/metadata.xml new file mode 100644 index 0000000..097975e --- /dev/null +++ b/games-arcade/tokitori/metadata.xml @@ -0,0 +1,4 @@ + + + + diff --git a/games-arcade/tokitori/tokitori-20130703.ebuild b/games-arcade/tokitori/tokitori-20130703.ebuild index eece263..bd00381 100644 --- a/games-arcade/tokitori/tokitori-20130703.ebuild +++ b/games-arcade/tokitori/tokitori-20130703.ebuild @@ -1,6 +1,9 @@ -EAPI="5" +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 -inherit base games unpacker-nixstaller +EAPI=7 + +inherit desktop eutils unpacker-nixstaller MY_PN="${PN^^t}" TS="1372878397" @@ -11,13 +14,12 @@ HOMEPAGE="http://www.tokitori.com/" SRC_URI="${MY_P}.sh" RESTRICT="fetch" -LICENSE="as-is" +LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="" -DEPEND="" -RDEPEND="${DEPEND} +RDEPEND=" media-libs/libsdl2 media-libs/openal sys-libs/zlib @@ -34,21 +36,23 @@ S="${WORKDIR}" DOCS=( "README.linux" ) src_unpack() { - local arch=x86 + local arch use amd64 && arch=x86_64 + use x86 && arch=x86 nixstaller_unpack "instarchive_all" "instarchive_all_${arch}" } src_install() { - local dir="${GAMES_PREFIX_OPT}/${PN}" - local arch=x86 + local dir="/opt/${PN}" + local arch use amd64 && arch=x86_64 + use x86 && arch=x86 exeinto "${dir}" insinto "${dir}" make_desktop_entry "${PN}" "${MY_PN}" "${PN}" - games_make_wrapper "${PN}" "./${PN}" "${dir}" + make_wrapper "${PN}" "./${PN}" "${dir}" newexe "${MY_PN}.bin.${arch}" "${PN}" newicon "${MY_PN}.png" "${PN}.png" @@ -69,8 +73,5 @@ src_install() { "menu" \ "splash" \ "textures" - - prepgamesdirs - base_src_install_docs }