QA_FLAGS_IGNORED="/usr/bin/nitrocli"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
doman "doc/nitrocli.1"
QA_FLAGS_IGNORED="/usr/bin/nitrocli"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
doman "doc/nitrocli.1"
QA_FLAGS_IGNORED="/usr/bin/cargo-license"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
QA_FLAGS_IGNORED="usr/bin/rpick"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
QA_FLAGS_IGNORED="usr/bin/rpick"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
QA_FLAGS_IGNORED="usr/bin/sk"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
dodoc CHANGELOG.md README.md
use tmux && dobin bin/sk-tmux
QA_FLAGS_IGNORED="usr/bin/sk"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
dodoc CHANGELOG.md README.md
use tmux && dobin bin/sk-tmux
# prevent cargo_src_install() blowing up on man installation
mv man manpages || die
- cargo_src_install --path=.
+ cargo_src_install
dodoc CHANGELOG.md README.md
doman manpages/man1/*
# prevent cargo_src_install() blowing up on man installation
mv man manpages || die
- cargo_src_install --path=.
+ cargo_src_install
dodoc CHANGELOG.md README.md
doman manpages/man1/*
# prevent cargo_src_install() blowing up on man installation
mv man manpages || die
- cargo_src_install --path=.
+ cargo_src_install
dodoc CHANGELOG.md README.md
doman manpages/man1/*
# prevent cargo_src_install() blowing up on man installation
mv man manpages || die
- cargo_src_install --path=.
+ cargo_src_install
dodoc CHANGELOG.md README.md
doman manpages/man1/*
RDEPEND=""
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
insinto "/usr/share/${PN}"
doins "${PN}.bash"
QA_FLAGS_IGNORED="/usr/bin/fblog"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
DEPEND="${RDEPEND}"
src_install(){
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
DEPEND="${RDEPEND}"
src_install(){
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
DEPEND="${RDEPEND}"
src_install(){
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
DEPEND="${RDEPEND}"
src_install(){
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
"
src_install(){
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
}
src_install() {
- cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+ cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
keepdir /etc/sccache
}
src_install() {
- cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+ cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
keepdir /etc/sccache
}
src_install() {
- cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+ cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
keepdir /etc/sccache
}
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
einstalldocs
}
ECARGO_HOME="${WORKDIR}/cargo_home"
ECARGO_VENDOR="${ECARGO_HOME}/gentoo"
+# @ECLASS-VARIABLE: CARGO_INSTALL_PATH
+# @DESCRIPTION:
+# Allows overriding the default cwd to run cargo install from
+: ${CARGO_INSTALL_PATH:=.}
+
# @FUNCTION: cargo_crate_uris
# @DESCRIPTION:
# Generates the URIs to put in SRC_URI to help fetch dependencies.
cargo_src_install() {
debug-print-function ${FUNCNAME} "$@"
- cargo install -vv -j $(makeopts_jobs) --root="${ED}/usr" $(usex debug --debug "") "$@" \
+ cargo install -vv -j $(makeopts_jobs) --path ${CARGO_INSTALL_PATH} \
+ --root="${ED}/usr" $(usex debug --debug "") "$@" \
|| die "cargo install failed"
rm -f "${ED}/usr/.crates.toml"
cargo_live_src_unpack
fi
}
-
-src_install() {
- cargo_src_install --path .
-}
QA_FLAGS_IGNORED="/usr/bin/bat"
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
doman doc/bat.1
einstalldocs
insinto /usr/share/fish/vendor_completions.d/
}
src_install() {
- cargo_src_install --path=./ $(usex git "" --no-default-features)
+ cargo_src_install $(usex git "" --no-default-features)
newbashcomp contrib/completions.bash exa
}
src_install() {
- cargo_src_install --path=.
+ cargo_src_install
newbashcomp "${T}"/shell_completions/fd.bash fd
insinto /usr/share/zsh/site-functions
QA_FLAGS_IGNORED="/usr/bin/lsd"
src_install() {
- cargo_src_install --path .
+ cargo_src_install
einstalldocs
}
QA_FLAGS_IGNORED="/usr/bin/lsd"
src_install() {
- cargo_src_install --path .
+ cargo_src_install
einstalldocs
}
QA_FLAGS_IGNORED="/usr/bin/lsd"
src_install() {
- cargo_src_install --path .
+ cargo_src_install
einstalldocs
}
}
src_install() {
- cargo_src_install --path=. $(usex pcre "--features pcre2" "")
+ cargo_src_install $(usex pcre "--features pcre2" "")
# hack to find/install generated files
# stamp file can be present in multiple dirs if we build additional features
}
src_install() {
- cargo_src_install --path=. $(usex pcre "--features pcre2" "")
+ cargo_src_install $(usex pcre "--features pcre2" "")
# hack to find/install generated files
# stamp file can be present in multiple dirs if we build additional features
S="${WORKDIR}/${PN}-${MY_PV}"
+CARGO_INSTALL_PATH="alacritty"
+
src_install() {
- cargo_src_install --path=alacritty
+ cargo_src_install
newbashcomp extra/completions/alacritty.bash alacritty
S="${WORKDIR}/${PN}-${MY_PV}"
+CARGO_INSTALL_PATH="alacritty"
+
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
git-r3_src_unpack
}
src_install() {
- cargo_src_install --path=alacritty --offline
+ cargo_src_install --offline
newbashcomp extra/completions/alacritty.bash alacritty
S="${WORKDIR}/${PN}-${MY_PV}"
+CARGO_INSTALL_PATH="alacritty"
+
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
git-r3_src_unpack
}
src_install() {
- cargo_src_install --path=alacritty --offline
+ cargo_src_install --offline
newbashcomp extra/completions/alacritty.bash alacritty