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-roguelike/zangband/
Date: Mon,  5 Apr 2021 17:45:59 +0000 (UTC)	[thread overview]
Message-ID: <1617644750.edd77013ce25f30a45bbc733ccee6ffd0c56ed56.sam@gentoo> (raw)

commit:     edd77013ce25f30a45bbc733ccee6ffd0c56ed56
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  5 17:45:19 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  5 17:45:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd77013

games-roguelike/zangband: fix DESTDIR

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-roguelike/zangband/zangband-2.7.4c.ebuild | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/games-roguelike/zangband/zangband-2.7.4c.ebuild b/games-roguelike/zangband/zangband-2.7.4c.ebuild
index 39b08af052a..211bb818327 100644
--- a/games-roguelike/zangband/zangband-2.7.4c.ebuild
+++ b/games-roguelike/zangband/zangband-2.7.4c.ebuild
@@ -3,11 +3,12 @@
 
 EAPI=7
 
-inherit autotools multilib
+inherit autotools
 
 DESCRIPTION="An enhanced version of the Roguelike game Angband"
 HOMEPAGE="http://www.zangband.org/"
 SRC_URI="ftp://ftp.sunet.se/pub/games/Angband/Variant/ZAngband/${P}.tar.gz"
+S="${WORKDIR}"/${PN}
 
 LICENSE="Moria"
 SLOT="0"
@@ -20,16 +21,20 @@ RDEPEND="
 		dev-lang/tk:0=
 		)
 	x11-libs/libXaw"
-DEPEND="${RDEPEND}
-	x11-base/xorg-proto"
+DEPEND="
+	${RDEPEND}
+	x11-base/xorg-proto
+"
 
-S=${WORKDIR}/${PN}
+DOCS=( readme z_faq.txt z_update.txt )
 
-PATCHES=( "${FILESDIR}"/${P}-tk85.patch
+PATCHES=(
+	"${FILESDIR}"/${P}-tk85.patch
 	"${FILESDIR}"/${P}-rng.patch
 	"${FILESDIR}"/${P}-tinfo.patch
 	"${FILESDIR}"/${P}-configure.patch
-	"${FILESDIR}"/${P}-makefile.patch )
+	"${FILESDIR}"/${P}-makefile.patch
+)
 
 src_prepare() {
 	default
@@ -49,14 +54,10 @@ src_configure() {
 	econf "${myconf[@]}"
 }
 
-DOCS=( readme
-	z_faq.txt
-	z_update.txt )
-
 src_install() {
 	# Install the basic files but remove unneeded crap
-	emake DESTDIR="${D}/" installbase
-	rm "${D}"/{angdos.cfg,readme,z_faq.txt,z_update.txt}
+	emake DESTDIR="${D}/usr/" installbase
+	rm "${ED}"/usr/{angdos.cfg,readme,z_faq.txt,z_update.txt} || die
 
 	# Install everything else and fix the permissions
 	dobin zangband


             reply	other threads:[~2021-04-05 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05 17:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-05 17:45 [gentoo-commits] repo/gentoo:master commit in: games-roguelike/zangband/ Sam James
2022-07-26  9:45 Sam James
2022-08-11  7:37 Ionen Wolkens
2024-05-06  1:46 Ionen Wolkens

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=1617644750.edd77013ce25f30a45bbc733ccee6ffd0c56ed56.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