mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-shells/carapace: add 1.6.1
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST carapace-1.5.7-deps.tar.xz 3233396 BLAKE2B 4191f3c58a677970c9a77dd87d44c8b4
|
||||
DIST carapace-1.5.7.tar.gz 18786709 BLAKE2B fb1e19b58a282716e8819a3fe12e25f290c2dca7585892f969cc9be5f47265c7777b94e0040574ff53ba3ffe6e43678b17b57e7ef82828a8a99fd5cb2f867084 SHA512 7f98cd7fc0d9abfb582ce9ea7b2f1f3c482097b0320fe9dda5224778f905b86d9eab9140213f3b59e31fd1973bcab7fc1d84e8b87fab7cbf7c6c37e60b9d21bf
|
||||
DIST carapace-1.6.0-deps.tar.xz 3101368 BLAKE2B 3acba7517faca3ea00714c825c7070f990f8f82ff9e453ce2faba38a15fa9510933528a50368efd1e08e521eea8ef56efc429edea1da397543b024da97771645 SHA512 c9513a0671f351caed31444eba644354631cc499293be5f141cf7ab692214b23037cdb99fb33e063b3e05def633b277386d882692ff17fa166bb5a27d9c72b2a
|
||||
DIST carapace-1.6.0.tar.gz 21074810 BLAKE2B c793678c64c49ea6318700f9f0bd3c0ed4583e0d599e4c1cf678f4d804908cd7b08a92beff4715ed02932dee24b953d66448b3add867bce7700b100b83e6d79d SHA512 97173ab53dce1130f87f272013c609daacd4de1573d27c669d248c158d105848a93d702dd33706db2e3ceaf4821fe58a83c7025ed83461fa734ad261c79bca1b
|
||||
DIST carapace-1.6.1.tar.gz 21070615 BLAKE2B 40e07a3de832392e3cfb524e3650c6ce0278bbf8635447e83bab4f2bf1c1ae6f24524f1b943d70ec32a0665d3091a6c1b15a5682f2994f747a5afa08c1150a9e SHA512 e221ff6a3ba5dab9f8e900c1cb14ed4e1ff25a95777c877548c2d10fefc7ba267202d178dd3095904bfad88f77e5afb0e92f75b96b653da8f383a35f62057a80
|
||||
DIST carapace-1.6.1.tar.xz 300316 BLAKE2B b603a1105cd98e066c78ad292a1230c256d7af5258cbed64006af5bc53fdaab10c7c4d456ed5760b51f99a9b123b82a44ac681ccd68dbd43c56ed6337f89f024 SHA512 e9d8aa1644e1317ddf9b08a0ab6f30863b605d3f64b0a84758adb1324a595c122759aab73a4bd62b85a391976690f43fbdb435c2785538d0bfc1f1bd82c8b44f
|
||||
|
||||
43
app-shells/carapace/carapace-1.6.1.ebuild
Normal file
43
app-shells/carapace/carapace-1.6.1.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