From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/papers-please/
Date: Sun, 4 Apr 2021 10:11:14 +0000 (UTC) [thread overview]
Message-ID: <1617531063.697bb0de8704a4ab3d92638a5dd4383cc73aa4f5.sam@gentoo> (raw)
commit: 697bb0de8704a4ab3d92638a5dd4383cc73aa4f5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 4 10:10:16 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 4 10:11:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697bb0de
games-misc/papers-please: port to EAPI 7, games.eclass--, eutils--
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../papers-please/papers-please-1.1.65.ebuild | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/games-misc/papers-please/papers-please-1.1.65.ebuild b/games-misc/papers-please/papers-please-1.1.65.ebuild
index db15ecb72c8..59cdcab89c9 100644
--- a/games-misc/papers-please/papers-please-1.1.65.ebuild
+++ b/games-misc/papers-please/papers-please-1.1.65.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils games
+inherit desktop wrapper
DESCRIPTION="A Dystopian Document Thriller"
HOMEPAGE="http://papersplea.se"
SRC_URI="papers-please_${PV}_i386.tar.gz"
+S="${WORKDIR}"/${PN}
LICENSE="PAPERS-PLEASE"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RESTRICT="fetch bindist"
-QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/*"
+QA_PREBUILT="opt/${PN}/*"
RDEPEND="
amd64? (
@@ -39,8 +39,6 @@ RDEPEND="
virtual/opengl
)"
-S=${WORKDIR}/${PN}
-
pkg_nofetch() {
einfo
einfo "Please buy & download ${SRC_URI} from:"
@@ -55,16 +53,14 @@ src_prepare() {
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
+ local dir=/opt/${PN}
- insinto "${dir}"
+ insinto ${dir}
doins -r *
- fperms +x "${dir}"/PapersPlease
+ fperms +x ${dir}/PapersPlease
- games_make_wrapper ${PN} "./PapersPlease" "${dir}" "${dir}"
+ make_wrapper ${PN} "./PapersPlease" "${dir}" "${dir}"
make_desktop_entry ${PN} "Papers, Please"
dodoc "${T}"/README
-
- prepgamesdirs
}
next reply other threads:[~2021-04-04 10:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-04 10:11 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-10 6:31 [gentoo-commits] repo/gentoo:master commit in: games-misc/papers-please/ Sam James
2018-12-19 14:31 Ben Kohler
2018-03-13 22:51 James Le Cuirot
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=1617531063.697bb0de8704a4ab3d92638a5dd4383cc73aa4f5.sam@gentoo \
--to=sam@gentoo.org \
--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