From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCF9213835A for ; Sun, 4 Apr 2021 10:11:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E66A9E0821; Sun, 4 Apr 2021 10:11:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A467DE081E for ; Sun, 4 Apr 2021 10:11:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6776933D7E3 for ; Sun, 4 Apr 2021 10:11:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB7D563F for ; Sun, 4 Apr 2021 10:11:14 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617531063.697bb0de8704a4ab3d92638a5dd4383cc73aa4f5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/papers-please/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-misc/papers-please/papers-please-1.1.65.ebuild X-VCS-Directories: games-misc/papers-please/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 697bb0de8704a4ab3d92638a5dd4383cc73aa4f5 X-VCS-Branch: master Date: Sun, 4 Apr 2021 10:11:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b80265d4-ead0-4b3a-854b-ca600c296349 X-Archives-Hash: 3b57f233358449f7dc850e567071e539 commit: 697bb0de8704a4ab3d92638a5dd4383cc73aa4f5 Author: Sam James gentoo org> AuthorDate: Sun Apr 4 10:10:16 2021 +0000 Commit: Sam James gentoo 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 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 }