commit:     0693e7cba36ecc4f4162e62e4bbd0a5ce4fca50b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 19:57:14 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 19:57:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0693e7cb

sci-biology/trf: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../trf/{trf-4.04-r1.ebuild => trf-4.04-r2.ebuild}        | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/sci-biology/trf/trf-4.04-r1.ebuild 
b/sci-biology/trf/trf-4.04-r2.ebuild
similarity index 64%
rename from sci-biology/trf/trf-4.04-r1.ebuild
rename to sci-biology/trf/trf-4.04-r2.ebuild
index 3b906fb31aaf..c534b74988bd 100644
--- a/sci-biology/trf/trf-4.04-r1.ebuild
+++ b/sci-biology/trf/trf-4.04-r2.ebuild
@@ -1,29 +1,28 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 MY_P="${PN}404"
 
 DESCRIPTION="Tandem Repeats Finder"
 HOMEPAGE="http://tandem.bu.edu/trf/trf.html";
 SRC_URI="http://tandem.bu.edu/trf/downloads/${MY_P}.linux";
+S="${WORKDIR}"
 
 LICENSE="trf"  # http://tandem.bu.edu/trf/trf.license.html
 SLOT="0"
 KEYWORDS="amd64 x86"
 RESTRICT="mirror bindist"
 
-S=${WORKDIR}
-
-QA_PREBUILT="opt/${PN}/.*"
+QA_PREBUILT="opt/trf/.*"
 
 src_unpack() {
-       cp "${DISTDIR}/${MY_P}.linux" "${S}/${MY_P}.linux.exe" || die
+       cp "${DISTDIR}"/${MY_P}.linux "${S}"/${MY_P}.linux.exe || die
 }
 
 src_install() {
-       exeinto /opt/${PN}
+       exeinto /opt/trf
        doexe trf404.linux.exe
-       dosym /opt/${PN}/${MY_P}.linux.exe /opt/bin/trf
+       dosym ../trf/${MY_P}.linux.exe /opt/bin/trf
 }

Reply via email to