mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
x11-terms/alacritty: switch to cargo.eclass func args
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -352,9 +352,7 @@ BDEPEND="dev-util/cmake
|
||||
DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml )
|
||||
|
||||
src_install() {
|
||||
cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") \
|
||||
--path . || die "cargo install failed"
|
||||
rm "${D}/usr/.crates.toml" || die
|
||||
cargo_src_install --path ./
|
||||
|
||||
newbashcomp alacritty-completions.bash alacritty
|
||||
|
||||
@@ -377,10 +375,6 @@ src_install() {
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cargo test -j $(makeopts_jobs) $(usex debug "" --release) || die "tests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "wayland support" dev-libs/wayland
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user