commit: 13caf5f19764fe0ed166faa9fe45a3be6a5d7a21
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 10:23:46 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 10:23:46 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=13caf5f1
games-puzzle/closure: 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/closure/closure-1.1.ebuild | 34 ++++++++++++++-------------------
games-puzzle/closure/metadata.xml | 6 +++---
2 files changed, 17 insertions(+), 23 deletions(-)
diff --git a/games-puzzle/closure/closure-1.1.ebuild
b/games-puzzle/closure/closure-1.1.ebuild
index f7e6fa4..94b271e 100644
--- a/games-puzzle/closure/closure-1.1.ebuild
+++ b/games-puzzle/closure/closure-1.1.ebuild
@@ -1,26 +1,24 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-EAPI="5"
+EAPI=7
-inherit games unpacker-nixstaller
+inherit desktop eutils unpacker-nixstaller
TIMESTAMP="2012-12-28"
MY_PN="${PN/c/C}"
-DESCRIPTION="Play as a strange spider-like demon who explores the stories of
three human characters."
+DESCRIPTION="Play as a strange demon who explores the stories of three human
characters."
HOMEPAGE="http://closuregame.com/"
SRC_URI="${MY_PN}-Linux-${PV}-${TIMESTAMP}.sh"
RESTRICT="fetch strip"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
-DEPEND=""
RDEPEND="
dev-libs/json-c
media-gfx/nvidia-cg-toolkit
@@ -71,20 +69,18 @@ pkg_nofetch() {
}
src_unpack() {
- local arch=x86;
- use amd64 && arch=x86_64;
-
- nixstaller_unpack \
- instarchive_all \
- instarchive_linux_${arch}
+ local arch=x86
+ use amd64 && arch=x86_64
+ nixstaller_unpack \
+ instarchive_all \
+ instarchive_linux_${arch}
}
-
src_install() {
- local arch=x86;
- use amd64 && arch=x86_64;
+ local arch=x86
+ use amd64 && arch=x86_64
- local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local dir="/opt/${PN}"
insinto "${dir}"
doins -r resources
@@ -93,7 +89,5 @@ src_install() {
doicon "${MY_PN}.png"
make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
- games_make_wrapper "${PN}" "./${MY_PN}.bin.${arch}" "${dir}"
-
- prepgamesdirs
+ make_wrapper "${PN}" "./${MY_PN}.bin.${arch}" "${dir}"
}
diff --git a/games-puzzle/closure/metadata.xml
b/games-puzzle/closure/metadata.xml
index 02d5659..f3571bf 100644
--- a/games-puzzle/closure/metadata.xml
+++ b/games-puzzle/closure/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
-<email>[email protected]</email>
-<name>Azamat H. Hackimov</name>
+<maintainer type="person">
+<email>[email protected]</email>
+<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription lang="en">
Shatter is a retro-inspired brick-breaking game that merges familiar action
with unique twists and a modern-crafted production.