commit:     843b1f675001ddf24cf56c5b0e9dcd3680111cef
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Jan 24 13:51:53 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Jan 24 13:54:11 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=843b1f67

sci-biology/SnpEff: fix install

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/SnpEff/SnpEff-4.3t.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-biology/SnpEff/SnpEff-4.3t.ebuild 
b/sci-biology/SnpEff/SnpEff-4.3t.ebuild
index ddece0256..843c00356 100644
--- a/sci-biology/SnpEff/SnpEff-4.3t.ebuild
+++ b/sci-biology/SnpEff/SnpEff-4.3t.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64"
 
 RDEPEND="
        >=virtual/jre-1.7:*
@@ -31,8 +31,8 @@ src_install(){
        mkdir -p "${ED}"/usr/share || die
        # but portage does not install the .* files and subdirs, grr!
        unzip \
-               "${DISTDIR}"/snpEff_v"${MY_PV}"_core.zip -d "${ED}"/usr/share \
-               || die "failed to unzip ${DISTDIR}/snpEff_v${MY_PV}_core.zip"
+               "${DISTDIR}"/snpEff_v"${PV//./_}"_core.zip -d "${ED}"/usr/share 
\
+               || die "failed to unzip ${DISTDIR}/snpEff_v${PV//./_}_core.zip"
        sed \
                -e "s#$HOME/tools/picard/#${ED}/usr/share/picard/lib/#" \
                -i "${ED}"/usr/share/snpEff/scripts/annotate_demo_GATK.sh || die

Reply via email to