mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
app-shells/carapace: add 1.7.0
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST carapace-1.6.4.tar.gz 21349585 BLAKE2B f599efe29d6c6aca24606aea2d4c346980c8
|
||||
DIST carapace-1.6.4.tar.xz 304200 BLAKE2B 2c9d019a8e910dee998fe3df8460590a6156339969a8f68d1a58137fc65bdd7a02b97fc4515bbc725f41ed4bf467b19210bce3bb06986205f263a59f68f43ba6 SHA512 b366b8a09c443415e9b369d7c311b0266feb08e8ea4cbc64429038883ad3eaafbaca1be822f5c9080ee04bd7557b6585ef465f16adfd6c2189a1357680d4ec2d
|
||||
DIST carapace-1.6.6.tar.gz 21758235 BLAKE2B 0f8f8e487c8043da76b327e9ad4d923760ae531e2bc00e140ad502d0da44340b95e2d8ebd34eca49c87f56ed80c68c281636aa47d269af9e09b368e05b1c7560 SHA512 002fabf917a65ad75c13598d3ee00a49b9cae1e8ad92ebee431cc29efd9c37b396b06e925709150e20617e489e45ed003a3868e4faec9da42416280e72180858
|
||||
DIST carapace-1.6.6.tar.xz 310024 BLAKE2B 9a0297c21852fe86ff5848662e20c1f70b618990e9c43ef9f3af72df61c422f1f7ee04d45ecb61be754782ceababd714370b4652b6dfec5f00ae02b5cce33e79 SHA512 d22bc02e950f537da6569a43e371e6c07439347f09908beb04d622cf51c02dac6759b2a957574bdc04918b7fa84a7312db56d71ba5ded8d0fff2ab3239bb8587
|
||||
DIST carapace-1.7.0.tar.gz 23217032 BLAKE2B 9e7d59969ac4d1c32d2904e4ddfec33b64f714c93307abf74e71ab356912aec77632e47b834f365091b906a308865add0d13ebb9b740cb34e03d60afb1616145 SHA512 e73e8aaa9553936e0e76420b53b5a0267575039af051c91284d427076222c19338684b4a7585746b418768d10063e709a1df4da98ad53e3c1313af8ce66e017b
|
||||
DIST carapace-1.7.0.tar.xz 311076 BLAKE2B 299478b3ed2906096edf1aeb5d224777acff508b56195d5a417362627c556023f0380e8b0c34c8fffe40136b70dbee61b79dd3132aeb37ed70e3bdfb6bd88da3 SHA512 cfc47c03b4772337129bf3a8d02005d5e962088713325b96efa74f85d527e590c39b3f5a6e51a32271ec356bdf248d7617e1dcd4736d8e8b3d860d3f47450bb7
|
||||
|
||||
43
app-shells/carapace/carapace-1.7.0.ebuild
Normal file
43
app-shells/carapace/carapace-1.7.0.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.26.2
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
"README.md"
|
||||
)
|
||||
HTML_DOCS=(
|
||||
"docs/book/"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
pushd "cmd/${PN}"
|
||||
ego generate ./...
|
||||
ego build -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