commit:     89c3d525fd3f87807f0233a6a561da7873a559f9
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Dec  6 19:37:00 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Dec  6 19:37:00 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=89c3d525

sci-biology/repeatmasker: fix ebuild so that it installs files in a proper 
location

Package-Manager: portage-2.2.26

 sci-biology/repeatmasker/ChangeLog                               | 7 +++++++
 .../{repeatmasker-4.0.6.ebuild => repeatmasker-4.0.6-r1.ebuild}  | 9 ++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/sci-biology/repeatmasker/ChangeLog 
b/sci-biology/repeatmasker/ChangeLog
index 872aa83..86d8a7a 100644
--- a/sci-biology/repeatmasker/ChangeLog
+++ b/sci-biology/repeatmasker/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*repeatmasker-4.0.6-r1 (06 Dec 2015)
+
+  06 Dec 2015; Martin Mokrejs <[email protected]>
+  +repeatmasker-4.0.6-r1.ebuild, -repeatmasker-4.0.6.ebuild:
+  sci-biology/repeatmasker: fix ebuild so that it installs files in a proper
+  location
+
   01 Dec 2015; Martin Mokrejs <[email protected]>
   +files/repeatmasker-4.0.6__configure.patch,
   -files/RepeatMasker-open-4-0-1__configure.patch,

diff --git a/sci-biology/repeatmasker/repeatmasker-4.0.6.ebuild 
b/sci-biology/repeatmasker/repeatmasker-4.0.6-r1.ebuild
similarity index 91%
rename from sci-biology/repeatmasker/repeatmasker-4.0.6.ebuild
rename to sci-biology/repeatmasker/repeatmasker-4.0.6-r1.ebuild
index 89b7c7f..c7f93fb 100644
--- a/sci-biology/repeatmasker/repeatmasker-4.0.6.ebuild
+++ b/sci-biology/repeatmasker/repeatmasker-4.0.6-r1.ebuild
@@ -58,7 +58,7 @@ Y
 Y
 5" | "${S}/configure" || die "configure failed"
        sed -i -e 's|use lib $FindBin::RealBin;|use lib 
"/usr/share/'${PN}'/lib";|' \
-               -e 's|".*\(taxonomy.dat\)"|"/usr/share/'${PN}'/\1"|' \
+               -e 's|".*\(taxonomy.dat\)"|"/usr/share/'${PN}'/Libraries/\1"|' \
                -e '/$REPEATMASKER_DIR/ 
s|$FindBin::RealBin|/usr/share/'${PN}'|' \
                
"${S}"/{DateRepeats,ProcessRepeats,RepeatMasker,DupMasker,RepeatProteinMask,RepeatMaskerConfig.pm,Taxonomy.pm}
 || die
 }
@@ -74,14 +74,17 @@ src_install() {
 
        dodir /usr/share/${PN}/lib
        insinto /usr/share/${PN}/lib
-       doins "${S}"/*.pm || die
+       doins "${S}"/*.pm
+       insinto /usr/share/${PN}/lib/Libraries
+       doins "${S}"/Libraries/*.pm
+       rm -rf "${S}"/Libraries/*.pm # zap the supposedly misplaced 
RepeatAnnotationData.pm file
 
        # if sci-biology/repeatmasker-libraries is installed prevent file 
collision
        # and do NOT install Libraries/RepeatMaskerLib.embl file which contains
        # a limited version of the file: 20110419-min
        rm -rf Libraries/RepeatMaskerLib.embl
        insinto /usr/share/${PN}
-       doins -r util Matrices Libraries taxonomy.dat *.help || die
+       doins -r util Matrices Libraries *.help
        keepdir /usr/share/${PN}/Libraries
 
        dodoc README INSTALL *.help

Reply via email to