mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user