mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-shells/carapace: add 1.6.4
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST carapace-1.6.2.tar.gz 21105272 BLAKE2B c532d0aad438b53c3ff94aea4820007e24fd
|
||||
DIST carapace-1.6.2.tar.xz 300384 BLAKE2B adff79c4726b2d592edb805c1565742e286f0f5e73c62b4e89cb8d1ac43ce4f435f7b003bac378b38586258f7611aed8bf54272b1ab8390b4ecd64dfc98f106b SHA512 0d9e97af5840032607558139fd65dc0a43b0750b5a4af57cf66e4629c1f907633ffbd7b220d67d91c08d21aee93c4b68a3870e557a57b210bcbe245af246e523
|
||||
DIST carapace-1.6.3.tar.gz 21286084 BLAKE2B 2bfe8d5c0d8819b701b20a1de89e3592bede8ac65bf4bde826f22dfe790fb5a809ea263db3914c7ab606ead7f7c86d5d6ac649bf8f9b6c349e3602ee5adf9a0b SHA512 34f12424139c7f28afbceb349162a47e85513304829f9c36dcfa2037d713411f00c3944f0174e9a3cc396203f9738e5d5299a82dccc6cdb22fe4386568775aa6
|
||||
DIST carapace-1.6.3.tar.xz 300352 BLAKE2B 80ac854b6df4c461f127ac08bf91e6c90adb3216359be964cbcdf4b4ea7383d1415f188b1eedfc07df5a976bb9492e4d2ee540066498fbfe0534d42855125e4a SHA512 d425011a9f8367a49ed5f0c3ccbfd6013c82bf9b5af5405d3205499a0043b823a231f8f80bea3015560f62cf3825117e9b00247f46a993b9e13cc30a23492d40
|
||||
DIST carapace-1.6.4.tar.gz 21349585 BLAKE2B f599efe29d6c6aca24606aea2d4c346980c8f27d4bf31199c59a440ac2a869006f41319300eef0a12e9f8d8d4ddacf647516cee0e8ef5c791be147f6f79c05db SHA512 037c7cbf8d3fd674b14699207ecd346fe8162897e0ef0e3c4868f7c09a92b4f90d97485994947598687963d0ce30e9770373a1be1e98a41db2d2d4bf39fc5ea5
|
||||
DIST carapace-1.6.4.tar.xz 304200 BLAKE2B 2c9d019a8e910dee998fe3df8460590a6156339969a8f68d1a58137fc65bdd7a02b97fc4515bbc725f41ed4bf467b19210bce3bb06986205f263a59f68f43ba6 SHA512 b366b8a09c443415e9b369d7c311b0266feb08e8ea4cbc64429038883ad3eaafbaca1be822f5c9080ee04bd7557b6585ef465f16adfd6c2189a1357680d4ec2d
|
||||
|
||||
43
app-shells/carapace/carapace-1.6.4.ebuild
Normal file
43
app-shells/carapace/carapace-1.6.4.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Multi-shell multi-command argument completer"
|
||||
HOMEPAGE="https://carapace.sh/"
|
||||
SRC_URI="https://github.com/${PN}-sh/${PN}-bin/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
DEPS_URI="https://github.com/gentoo-golang-dist/${PN}-bin/releases/download/v${PV}/${PN}-bin-${PV}-vendor.tar.xz -> ${P}.tar.xz"
|
||||
SRC_URI+=" ${DEPS_URI}"
|
||||
|
||||
S="${WORKDIR}/${PN}-bin-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.23.1
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
"README.md"
|
||||
)
|
||||
HTML_DOCS=(
|
||||
"docs/book/"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
pushd "cmd/${PN}"
|
||||
ego generate ./...
|
||||
ego build -ldflags="-s -w" -tags release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "cmd/${PN}/${PN}"
|
||||
mv "docs/src" "docs/book" || die
|
||||
rm -r "docs/book/release_notes" || die
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user