summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-11-09 15:55:52 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-11-09 15:59:01 +0000
commit7ec1c387376c18094a713e336bd033001bcbdac7 (patch)
treed08c5ef72cf912d1abe8b02b51613247311c0f96 /dev-lang
parentdev-libs/mpfr: arm64 stable (bug #693846) (diff)
downloadgentoo-7ec1c387376c18094a713e336bd033001bcbdac7.tar.gz
gentoo-7ec1c387376c18094a713e336bd033001bcbdac7.tar.bz2
gentoo-7ec1c387376c18094a713e336bd033001bcbdac7.zip
dev-lang/nim: drop redundant 'insinto'
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/nim/nim-1.0.2.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-lang/nim/nim-1.0.2.ebuild b/dev-lang/nim/nim-1.0.2.ebuild
index bb41a8721feb..160171c5b095 100644
--- a/dev-lang/nim/nim-1.0.2.ebuild
+++ b/dev-lang/nim/nim-1.0.2.ebuild
@@ -60,8 +60,8 @@ src_test() {
}
src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED%/}"
- rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
exeinto /usr/bin
@@ -73,10 +73,6 @@ src_install() {
doexe "${bin_exe}"
done
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/html/*.html
- fi
-
+ use doc && dodoc doc/html/*.html
newbashcomp tools/nim.bash-completion ${PN}
}