commit:     3f0fe98e778f6209d5f43d95b8ca388b3dd2ed62
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  7 08:03:53 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Aug  7 08:04:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0fe98e

app-admin/multilog-watch: eapi bump to 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 ...watch-1.12.ebuild => multilog-watch-1.12-r1.ebuild} | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/app-admin/multilog-watch/multilog-watch-1.12.ebuild 
b/app-admin/multilog-watch/multilog-watch-1.12-r1.ebuild
similarity index 71%
rename from app-admin/multilog-watch/multilog-watch-1.12.ebuild
rename to app-admin/multilog-watch/multilog-watch-1.12-r1.ebuild
index a5ba20ffbe3..a8298e04e6c 100644
--- a/app-admin/multilog-watch/multilog-watch-1.12.ebuild
+++ b/app-admin/multilog-watch/multilog-watch-1.12-r1.ebuild
@@ -1,9 +1,11 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 inherit eutils
-DESCRIPTION="Watches a multilog file for irregularities"
 
+DESCRIPTION="Watches a multilog file for irregularities"
 HOMEPAGE="https://www.eyrie.org/~eagle/software/multilog-watch/";
 SRC_URI="https://archives.eyrie.org/software/system/multilog-watch
 https://www.eyrie.org/%7Eeagle/software/multilog-watch/sample.filter";
@@ -17,15 +19,15 @@ RDEPEND="dev-lang/perl
                virtual/qmail"
 
 src_unpack() {
-       mkdir "${S}"
-       cp "${DISTDIR}"/multilog-watch "${S}"
-       cp "${DISTDIR}"/sample.filter "${S}"
+       mkdir "${S}" || die
+       cp "${DISTDIR}"/multilog-watch "${S}" || die
+       cp "${DISTDIR}"/sample.filter "${S}" || die
 }
 
 src_compile() {
-       mv multilog-watch multilog-watch.orig
-       sed -e 's/\/etc\/leland/\/etc\/multilog-watch/' multilog-watch.orig > 
multilog-watch
-       /usr/bin/pod2man -s 1 multilog-watch multilog-watch.1
+       mv multilog-watch multilog-watch.orig || die
+       sed -e 's/\/etc\/leland/\/etc\/multilog-watch/' multilog-watch.orig > 
multilog-watch || die
+       /usr/bin/pod2man -s 1 multilog-watch multilog-watch.1 || die
 }
 
 src_install() {
@@ -33,6 +35,6 @@ src_install() {
        insinto /etc/multilog-watch
        doins sample.filter
 
-       dobin multilog-watch || die 'install failed'
+       dobin multilog-watch
        doman multilog-watch.1
 }

Reply via email to