commit:     9af6363fd1ae6f0db6245dd03574a590dece96b2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 05:21:54 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 05:41:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af6363f

app-text/sgrep: EAPI6->8

Left SRC_URI alone despite dead, feel it may(?) not be permanent.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-text/sgrep/sgrep-1.94a.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/app-text/sgrep/sgrep-1.94a.ebuild 
b/app-text/sgrep/sgrep-1.94a.ebuild
index 9facab819c5c..48d4a42542ef 100644
--- a/app-text/sgrep/sgrep-1.94a.ebuild
+++ b/app-text/sgrep/sgrep-1.94a.ebuild
@@ -1,20 +1,20 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 DESCRIPTION="Use structural criteria to grep and index text, SGML, XML and 
HTML and filter"
-SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz";
 HOMEPAGE="https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html";
+SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
 
 src_prepare() {
        default
-       sed -i -e "s:/usr/lib:/etc:g" sgrep.1 || die
+
+       sed -i "s:/usr/lib:${EPREFIX}/etc:g" sgrep.1 || die
 }
 
 src_configure() {
@@ -25,6 +25,7 @@ src_install() {
        dobin sgrep
        doman sgrep.1
        dodoc AUTHORS ChangeLog NEWS README sample.sgreprc
+
        insinto /etc
        newins sample.sgreprc sgreprc
 }

Reply via email to