mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-shells/carapace: add 1.5.4
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST carapace-1.5.3-deps.tar.xz 3183856 BLAKE2B 65ae6aa00f273eff14d1f7a5124ccf47c141e1cbbace3fdda0fb7506a34be95be48310f217a2a4d4b4a480dc517590938f29e1e7b2f74f007aa11b87b5b821f0 SHA512 c911f6bc929580729fa0852a2fd7f3f4b1ec23889241a10c52520da8c0f8ecdd445c3b4f9d576c09a10c2f07b74df8f6779cab8dbb7d58a3fd1308a45473fe55
|
||||
DIST carapace-1.5.3.tar.gz 18672260 BLAKE2B d8a529e1806fea836aae503f1406104e0fc47d62001b4dce9ed416e6b23cb3a6706b9f1250f2ca01970d37fb95e83a7c22e4cbb69942d455016f09efcf151485 SHA512 da75204afe15168c522403c6d21d14c6ddcc75c9dd4bc88639cdb9a2d04c71a22395053285946ea0865cf564a36b7931cbf9614510f4e9682e79b668d84bdc25
|
||||
DIST carapace-1.5.4-deps.tar.xz 3226220 BLAKE2B 90323bec4b64f111ebf6828081cf339dba94538a113785b784ff0b62e8b272f6b3ba44342a3427bb6d7d0687e783f10ba93a2e9546556489b9005e3178e9864c SHA512 d50647ccbea8c6e3642e98bbc874d35d6c983a4ad9a561c0e923bf89cf1dc7352dd0ab79da5b99bfff1170ada985be3fe4a524ad314ab2a05209c7b1095cace7
|
||||
DIST carapace-1.5.4.tar.gz 18708226 BLAKE2B eee805f5c5d05b3eee9e3b9bfb21ce6797149302401c4af9d15cbb9e743cd8c4d0a593c511da52016bab6678e8552ef41f7f2f2dcf3a7aa03e27ec1fb492a7e5 SHA512 3e1c9422c9b4aed36f4d15f1e4359385ad192e6b4243d0acbdd450073aec09c1eb9963f7b6f57c15f0729a92385d4661dbbb8d1c11b4eb40b1f7816813a1540f
|
||||
|
||||
43
app-shells/carapace/carapace-1.5.4.ebuild
Normal file
43
app-shells/carapace/carapace-1.5.4.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 2024-2025 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/freijon/${PN}-bin/releases/download/v${PV}/${P}-deps.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