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 300C81382C5 for ; Wed, 10 Mar 2021 04:55:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56257E0821; Wed, 10 Mar 2021 04:55:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 394D3E0821 for ; Wed, 10 Mar 2021 04:55:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 F298D340CDA for ; Wed, 10 Mar 2021 04:55:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ACDE0583 for ; Wed, 10 Mar 2021 04:55:07 +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: <1615352074.21c9e0347f06c5b1842e174b7e04b734dd8f54c5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/aop/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/aop/aop-0.6-r1.ebuild games-arcade/aop/aop-0.6-r2.ebuild X-VCS-Directories: games-arcade/aop/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 21c9e0347f06c5b1842e174b7e04b734dd8f54c5 X-VCS-Branch: master Date: Wed, 10 Mar 2021 04:55:07 +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: a5dc2c82-a853-482a-86ad-9cd3f426c6e8 X-Archives-Hash: c7f95bd8c3b7af6e4e1327a5dd87f12f commit: 21c9e0347f06c5b1842e174b7e04b734dd8f54c5 Author: Sam James gentoo org> AuthorDate: Wed Mar 10 04:54:34 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 10 04:54:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21c9e034 games-arcade/aop: fix typo and games.eclass porting Closes: https://bugs.gentoo.org/677894 Signed-off-by: Sam James gentoo.org> .../aop/{aop-0.6-r1.ebuild => aop-0.6-r2.ebuild} | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/games-arcade/aop/aop-0.6-r1.ebuild b/games-arcade/aop/aop-0.6-r2.ebuild similarity index 67% rename from games-arcade/aop/aop-0.6-r1.ebuild rename to games-arcade/aop/aop-0.6-r2.ebuild index c5edb52f234..d0849e3b940 100644 --- a/games-arcade/aop/aop-0.6-r1.ebuild +++ b/games-arcade/aop/aop-0.6-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="Ambassador of Pain is a curses based game with only 64 lines of code" HOMEPAGE="http://raffi.at/view/code/aop" @@ -10,23 +10,28 @@ SRC_URI="http://www.raffi.at/code/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" RDEPEND="sys-libs/ncurses:0" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-as-needed.patch +) src_prepare() { default + sed -i \ - -e "s#/usr/local/share#${GAMES_DATADIR}#" \ + -e "s#/usr/local/share#/usr/share/${PN}#" \ aop.c || die - eapply "${FILESDIR}"/${P}-as-needed.patch } src_install() { dobin aop - insinto "/usr/shate/${PN}" + + insinto "/usr/share/${PN}" doins aop-level-*.txt + einstalldocs }