public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdialog/
Date: Wed, 18 May 2016 10:00:49 +0000 (UTC)	[thread overview]
Message-ID: <1463563974.494465adec701e2f4bd4979747deca27016aa2ff.monsieurp@gentoo> (raw)

commit:     494465adec701e2f4bd4979747deca27016aa2ff
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 09:32:29 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed May 18 09:32:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494465ad

x11-misc/xdialog: Housekeeping + missing die.

Package-Manager: portage-2.2.28

 x11-misc/xdialog/xdialog-2.3.1.ebuild | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/x11-misc/xdialog/xdialog-2.3.1.ebuild b/x11-misc/xdialog/xdialog-2.3.1.ebuild
index 967790e..a4980a7 100644
--- a/x11-misc/xdialog/xdialog-2.3.1.ebuild
+++ b/x11-misc/xdialog/xdialog-2.3.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
+
 inherit autotools eutils
 
 DESCRIPTION="drop-in replacement for cdialog using GTK"
@@ -24,10 +25,15 @@ DEPEND="
 	nls? ( sys-devel/gettext )
 "
 
-S=${WORKDIR}/${P/x/X}
+S="${WORKDIR}/${P/x/X}"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-{no-strip,install}.patch
+)
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-{no-strip,install}.patch
+	epatch "${PATCHES[@]}"
+
 	eautoreconf
 }
 
@@ -39,14 +45,15 @@ src_configure() {
 
 src_install() {
 	default
-	rm -rf "${D}"/usr/share/doc
+
+	rm -rv "${D}"/usr/share/doc || die
 
 	dodoc AUTHORS BUGS ChangeLog README
 
 	use doc && dohtml -r doc/
 
 	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
+		insinto "/usr/share/doc/${PF}/examples"
 		doins samples/*
 	fi
 }


             reply	other threads:[~2016-05-18 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18 10:00 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-04  4:32 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdialog/ Sam James

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=1463563974.494465adec701e2f4bd4979747deca27016aa2ff.monsieurp@gentoo \
    --to=monsieurp@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