public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/zenbound2/
Date: Sat, 29 Feb 2020 13:04:57 +0000 (UTC)	[thread overview]
Message-ID: <1582977660.a87b22b43cd02932b964371d4c7cc16d630483d2.winterheart@gentoo> (raw)

commit:     a87b22b43cd02932b964371d4c7cc16d630483d2
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 12:01:00 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 12:01:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=a87b22b4

games-puzzle/zenbound2: update package

Migrate from deprecated eclass.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-puzzle/zenbound2/metadata.xml                | 11 ++++++++++
 ...0120325.ebuild => zenbound2-20120325-r1.ebuild} | 25 ++++++++++------------
 2 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/games-puzzle/zenbound2/metadata.xml b/games-puzzle/zenbound2/metadata.xml
new file mode 100644
index 0000000..aec4945
--- /dev/null
+++ b/games-puzzle/zenbound2/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>mva@mva.name</email>
+<name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+

diff --git a/games-puzzle/zenbound2/zenbound2-20120325.ebuild b/games-puzzle/zenbound2/zenbound2-20120325-r1.ebuild
similarity index 75%
rename from games-puzzle/zenbound2/zenbound2-20120325.ebuild
rename to games-puzzle/zenbound2/zenbound2-20120325-r1.ebuild
index 177b15f..8835a39 100644
--- a/games-puzzle/zenbound2/zenbound2-20120325.ebuild
+++ b/games-puzzle/zenbound2/zenbound2-20120325-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: games-puzzle/kinetris/kinetris-1.0.0b_pre5.ebuild frostwork Exp $
 
-EAPI="5"
+EAPI=7
 
-inherit multilib games
+inherit desktop eutils
 
 DESCRIPTION="A calm and meditative game of wrapping rope around wooden sculptures."
 HOMEPAGE="http://zenbound.com/"
@@ -13,10 +12,10 @@ SRC_URI="
 	amd64? ( ${P}-amd64.tar.gz )
 "
 
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 SLOT="0"
 RESTRICT="fetch"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 
 DEPEND=""
@@ -72,7 +71,7 @@ MY_PN="ZenBound2"
 
 src_install() {
 	local lib="$(get_libdir)"
-	GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
+	local dir="/opt/${PN}"
 
 	# Unbundling
 	rm "./${lib}/libopenal.so.1"
@@ -82,15 +81,13 @@ src_install() {
 	rm "./${lib}/libogg.so.0"
 
 	newicon "${MY_PN}.png" "${PN}.png"
-	exeinto "${GAMEDIR}"
-	insinto "${GAMEDIR}"
+	exeinto "${dir}"
+	insinto "${dir}"
 	doins -r "data_common"
 	doins -r "data_desktop"
 	doexe "${MY_PN}.bin"
 
-        # install shortcuts
-        games_make_wrapper "${PN}" "./${MY_PN}.bin" "${GAMEDIR}" "${GAMEDIR}/${lib}" || die "install shortcut"
-        make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
-
-        prepgamesdirs
+	# install shortcuts
+	make_wrapper "${PN}" "./${MY_PN}.bin" "${dir}" "${dir}/${lib}" || die "install shortcut"
+	make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
 }


             reply	other threads:[~2020-02-29 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-29 13:04 Azamat H. Hackimov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-15  5:48 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/zenbound2/ Vadim Misbakh-Soloviov
2013-05-04  6:46 Vadim A. Misbakh-Soloviov
2013-05-02 11:15 Vadim A. Misbakh-Soloviov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582977660.a87b22b43cd02932b964371d4c7cc16d630483d2.winterheart@gentoo \
    --to=winterheart@gentoo.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox