Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/closure/
Date: Sat, 29 Feb 2020 13:05:00
Message-Id: 1582971826.13caf5f19764fe0ed166faa9fe45a3be6a5d7a21.winterheart@gentoo
1 commit: 13caf5f19764fe0ed166faa9fe45a3be6a5d7a21
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 10:23:46 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Feb 29 10:23:46 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=13caf5f1
7
8 games-puzzle/closure: update package
9
10 Migrate from deprecated eclass.
11
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 games-puzzle/closure/closure-1.1.ebuild | 34 ++++++++++++++-------------------
16 games-puzzle/closure/metadata.xml | 6 +++---
17 2 files changed, 17 insertions(+), 23 deletions(-)
18
19 diff --git a/games-puzzle/closure/closure-1.1.ebuild b/games-puzzle/closure/closure-1.1.ebuild
20 index f7e6fa4..94b271e 100644
21 --- a/games-puzzle/closure/closure-1.1.ebuild
22 +++ b/games-puzzle/closure/closure-1.1.ebuild
23 @@ -1,26 +1,24 @@
24 -# Copyright 1999-2012 Gentoo Foundation
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: $
28
29 -EAPI="5"
30 +EAPI=7
31
32 -inherit games unpacker-nixstaller
33 +inherit desktop eutils unpacker-nixstaller
34
35 TIMESTAMP="2012-12-28"
36 MY_PN="${PN/c/C}"
37
38 -DESCRIPTION="Play as a strange spider-like demon who explores the stories of three human characters."
39 +DESCRIPTION="Play as a strange demon who explores the stories of three human characters."
40 HOMEPAGE="http://closuregame.com/"
41 SRC_URI="${MY_PN}-Linux-${PV}-${TIMESTAMP}.sh"
42
43 RESTRICT="fetch strip"
44
45 -LICENSE="as-is"
46 +LICENSE="all-rights-reserved"
47 SLOT="0"
48 KEYWORDS="-* ~amd64 ~x86"
49 IUSE=""
50
51 -DEPEND=""
52 RDEPEND="
53 dev-libs/json-c
54 media-gfx/nvidia-cg-toolkit
55 @@ -71,20 +69,18 @@ pkg_nofetch() {
56 }
57
58 src_unpack() {
59 - local arch=x86;
60 - use amd64 && arch=x86_64;
61 -
62 - nixstaller_unpack \
63 - instarchive_all \
64 - instarchive_linux_${arch}
65 + local arch=x86
66 + use amd64 && arch=x86_64
67 + nixstaller_unpack \
68 + instarchive_all \
69 + instarchive_linux_${arch}
70 }
71
72 -
73 src_install() {
74 - local arch=x86;
75 - use amd64 && arch=x86_64;
76 + local arch=x86
77 + use amd64 && arch=x86_64
78
79 - local dir="${GAMES_PREFIX_OPT}/${PN}"
80 + local dir="/opt/${PN}"
81 insinto "${dir}"
82 doins -r resources
83
84 @@ -93,7 +89,5 @@ src_install() {
85
86 doicon "${MY_PN}.png"
87 make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
88 - games_make_wrapper "${PN}" "./${MY_PN}.bin.${arch}" "${dir}"
89 -
90 - prepgamesdirs
91 + make_wrapper "${PN}" "./${MY_PN}.bin.${arch}" "${dir}"
92 }
93
94 diff --git a/games-puzzle/closure/metadata.xml b/games-puzzle/closure/metadata.xml
95 index 02d5659..f3571bf 100644
96 --- a/games-puzzle/closure/metadata.xml
97 +++ b/games-puzzle/closure/metadata.xml
98 @@ -1,9 +1,9 @@
99 <?xml version="1.0" encoding="UTF-8"?>
100 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
101 <pkgmetadata>
102 -<maintainer>
103 -<email>azamat.hackimov@×××××.com</email>
104 -<name>Azamat H. Hackimov</name>
105 +<maintainer type="person">
106 +<email>mva@×××.name</email>
107 +<name>Vadim A. Misbakh-Soloviov</name>
108 </maintainer>
109 <longdescription lang="en">
110 Shatter is a retro-inspired brick-breaking game that merges familiar action with unique twists and a modern-crafted production.