From 0693e7cba36ecc4f4162e62e4bbd0a5ce4fca50b Mon Sep 17 00:00:00 2001 From: David Seifert Date: Thu, 7 Jul 2022 21:57:14 +0200 Subject: [PATCH] sci-biology/trf: update EAPI 6 -> 8 Signed-off-by: David Seifert --- .../{trf-4.04-r1.ebuild => trf-4.04-r2.ebuild} | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) rename sci-biology/trf/{trf-4.04-r1.ebuild => trf-4.04-r2.ebuild} (64%) 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 3b906fb31aaff..c534b74988bd6 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 }