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>[email protected]</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 via email to