Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
}
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
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}
}