diff --git a/app-misc/yazi/metadata.xml b/app-misc/yazi/metadata.xml new file mode 100644 index 0000000..d626eca --- /dev/null +++ b/app-misc/yazi/metadata.xml @@ -0,0 +1,12 @@ + + + + + rmicielski@purelymail.com + Remigiusz Micielski + + + sxyazi/yazi + https://github.com/sxyazi/yazi/issues + + diff --git a/app-misc/yazi/yazi-9999.ebuild b/app-misc/yazi/yazi-9999.ebuild new file mode 100644 index 0000000..c6f3836 --- /dev/null +++ b/app-misc/yazi/yazi-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo git-r3 + +DESCRIPTION="Blazing fast terminal file manager written in Rust, based on async I/O." +HOMEPAGE="https://yazi-rs.github.io/" +EGIT_REPO_URI="https://github.com/sxyazi/yazi.git" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_unpack() { + git-r3_src_unpack + cargo_live_src_unpack +} + +src_prepare() { + sed -i 's/strip = true/strip = false/' Cargo.toml || die "Sed failed!" + eapply_user +} + +src_install() { + dobin target/$(usex debug debug release)/yazi +}