mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
git commit -m "app-misc/crush: add new package version 0.75.0
Add crush - a terminal file manager with modern features. Signed-off-by: Theron York <theron.york@cloudnuke.org>" git commit --amend -S --no-edit
This commit is contained in:
2
app-misc/crush/Manifest
Normal file
2
app-misc/crush/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST crush-0.75.0-vendor.tar.xz 14731756 BLAKE2B d4284e9217c48cd97ea507519494e06cda74fb1e46a1b5f3938fb907265e45e4d8c948f271637ff010c36ef81d3d4c00928fe76f1b70aca8ca6fb893bbfb04a5 SHA512 f516e1f172b04f40a60788ec7b616aa5996227557aacb6541b521bf5a2b5f2f613aaf76f7500ab3164d8c8016606109f9101bb8b5ffce944eb635cad96ca8c83
|
||||||
|
DIST crush-0.75.0.tar.gz 1581351 BLAKE2B ce698f3f887d1f378bdf0f502a2d33fd9f66db25ae294a766592ad2b59ede5230ed080d16038784029e27e6f4f5f0dc1e11ddb1fddf8e92a632bffec79856e8a SHA512 fd6a39e0fdc4512366f8c5371fcea771813904cfdf4e85f7f46956172a45e1fde68fcf7934fcc0a0199f0ca2f1b92d4a7187ac2b08da8abc8874de5c4c10aeab
|
||||||
40
app-misc/crush/crush-0.75.0.ebuild
Normal file
40
app-misc/crush/crush-0.75.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module shell-completion
|
||||||
|
|
||||||
|
DESCRIPTION="The glamourous AI coding agent for your favourite terminal"
|
||||||
|
HOMEPAGE="https://github.com/charmbracelet/crush"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/charmbracelet/crush/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://github.com/gentoo-zh-drafts/crush/releases/download/v${PV}/${P}-vendor.tar.xz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}"/${P}
|
||||||
|
|
||||||
|
# https://fsl.software/FSL-1.1-MIT.template.md
|
||||||
|
LICENSE="FSL-1.1-MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~arm64"
|
||||||
|
|
||||||
|
BDEPEND=">=dev-lang/go-1.26.4"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local ldflags="\
|
||||||
|
-X github.com/charmbracelet/crush/internal/version.Version=${PV}"
|
||||||
|
ego build -o ${PN} -trimpath -ldflags "${ldflags}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# generate shell completion scripts
|
||||||
|
for sh in bash fish zsh; do
|
||||||
|
./${PN} completion ${sh} > "completion.${sh}"
|
||||||
|
done
|
||||||
|
|
||||||
|
dobin ${PN}
|
||||||
|
|
||||||
|
newbashcomp completion.bash "${PN}"
|
||||||
|
newfishcomp completion.fish "${PN}".fish
|
||||||
|
newzshcomp completion.zsh _"${PN}"
|
||||||
|
}
|
||||||
110
licenses/FSL-1.1-MIT
Normal file
110
licenses/FSL-1.1-MIT
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
# Functional Source License, Version 1.1, MIT Future License
|
||||||
|
|
||||||
|
## Abbreviation
|
||||||
|
|
||||||
|
FSL-1.1-MIT
|
||||||
|
|
||||||
|
## Notice
|
||||||
|
|
||||||
|
Copyright ${year} ${licensor name}
|
||||||
|
|
||||||
|
## Terms and Conditions
|
||||||
|
|
||||||
|
### Licensor ("We")
|
||||||
|
|
||||||
|
The party offering the Software under these Terms and Conditions.
|
||||||
|
|
||||||
|
### The Software
|
||||||
|
|
||||||
|
The "Software" is each version of the software that we make available under
|
||||||
|
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
||||||
|
Conditions with the Software.
|
||||||
|
|
||||||
|
### License Grant
|
||||||
|
|
||||||
|
Subject to your compliance with this License Grant and the Patents,
|
||||||
|
Redistribution and Trademark clauses below, we hereby grant you the right to
|
||||||
|
use, copy, modify, create derivative works, publicly perform, publicly display
|
||||||
|
and redistribute the Software for any Permitted Purpose identified below.
|
||||||
|
|
||||||
|
### Permitted Purpose
|
||||||
|
|
||||||
|
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
||||||
|
means making the Software available to others in a commercial product or
|
||||||
|
service that:
|
||||||
|
|
||||||
|
1. substitutes for the Software;
|
||||||
|
|
||||||
|
2. substitutes for any other product or service we offer using the Software
|
||||||
|
that exists as of the date we make the Software available; or
|
||||||
|
|
||||||
|
3. offers the same or substantially similar functionality as the Software.
|
||||||
|
|
||||||
|
Permitted Purposes specifically include using the Software:
|
||||||
|
|
||||||
|
1. for your internal use and access;
|
||||||
|
|
||||||
|
2. for non-commercial education;
|
||||||
|
|
||||||
|
3. for non-commercial research; and
|
||||||
|
|
||||||
|
4. in connection with professional services that you provide to a licensee
|
||||||
|
using the Software in accordance with these Terms and Conditions.
|
||||||
|
|
||||||
|
### Patents
|
||||||
|
|
||||||
|
To the extent your use for a Permitted Purpose would necessarily infringe our
|
||||||
|
patents, the license grant above includes a license under our patents. If you
|
||||||
|
make a claim against any party that the Software infringes or contributes to
|
||||||
|
the infringement of any patent, then your patent license to the Software ends
|
||||||
|
immediately.
|
||||||
|
|
||||||
|
### Redistribution
|
||||||
|
|
||||||
|
The Terms and Conditions apply to all copies, modifications and derivatives of
|
||||||
|
the Software.
|
||||||
|
|
||||||
|
If you redistribute any copies, modifications or derivatives of the Software,
|
||||||
|
you must include a copy of or a link to these Terms and Conditions and not
|
||||||
|
remove any copyright notices provided in or with the Software.
|
||||||
|
|
||||||
|
### Disclaimer
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
||||||
|
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
||||||
|
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
||||||
|
|
||||||
|
### Trademarks
|
||||||
|
|
||||||
|
Except for displaying the License Details and identifying us as the origin of
|
||||||
|
the Software, you have no right under these Terms and Conditions to use our
|
||||||
|
trademarks, trade names, service marks or product names.
|
||||||
|
|
||||||
|
## Grant of Future License
|
||||||
|
|
||||||
|
We hereby irrevocably grant you an additional license to use the Software under
|
||||||
|
the MIT license that is effective on the second anniversary of the date we make
|
||||||
|
the Software available. On or after that date, you may use the Software under
|
||||||
|
the MIT license, in which case the following will apply:
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
Reference in New Issue
Block a user