-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/yazi: add yazi-9999 ebuild file
Signed-off-by: Ruowen Qin <[email protected]>
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Remigiusz Micielski</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">sxyazi/yazi</remote-id> | ||
<bugs-to>https://github.com/sxyazi/yazi/issues</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |