public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/aop/
Date: Wed, 10 Mar 2021 04:55:07 +0000 (UTC)	[thread overview]
Message-ID: <1615352074.21c9e0347f06c5b1842e174b7e04b734dd8f54c5.sam@gentoo> (raw)

commit:     21c9e0347f06c5b1842e174b7e04b734dd8f54c5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 04:54:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
 }


             reply	other threads:[~2021-03-10  4:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10  4:55 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-19 21:23 [gentoo-commits] repo/gentoo:master commit in: games-arcade/aop/ Sam James
2018-04-15  9:11 Pacho Ramos
2015-12-18  0:47 Michael Sterrett

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=1615352074.21c9e0347f06c5b1842e174b7e04b734dd8f54c5.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