mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
app-shells/carapace: add 1.0.5
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST carapace-1.0.3-deps.tar.xz 3060444 BLAKE2B 560a0ee95810cca800ab4ebcf22c90e7
|
||||
DIST carapace-1.0.3.tar.gz 14613295 BLAKE2B 71cd6675a30673dba859f3647ee18299def074c4e8d1dd29ffa0c0264d128c55a04f3177f67928742b5a86984aee3782432e041376e6a702c6715e4fd67bb9aa SHA512 8b1781bff0d2f1e9a7b9b433153eced755231479c7eabf383af07687b4c588f8488dc43d4f6707ba345548737318b442ac0e4614068017106540ef50ef4b1527
|
||||
DIST carapace-1.0.4-deps.tar.xz 3065556 BLAKE2B e5eaff8be53fd55e1a862806204efdd8ba6ef08ffb2b6f1d3dcfdccb1e3360b9a44d2c2a644246c11792206b079af1ea77ff3868e41567653f093545962a0286 SHA512 89dcccee7b98a9585e7a13b4da11d41fbda9f67bc82737a28a3809b9b79812cf6d22db77d76ccb3b2c73c6255b062ef02dc54a4f76188bac3da6503d054d34fd
|
||||
DIST carapace-1.0.4.tar.gz 14721282 BLAKE2B 078a1acd6071729421e3107c5045ee5af14b45c0a27f5e7c9db8a81ee4116c07c086e7f15a5ca029743b5d2ca4091ea0cdfbf8a99e8727268637ab5025df5955 SHA512 cafc801adbb598cae105aeb3befb64870d93ced4b2c0d4e2b891e593615e050c5bf4fcfa57940322ed4024d62469c23de515cfca56e260827c689319b43ca706
|
||||
DIST carapace-1.0.5-deps.tar.xz 3065304 BLAKE2B b8de6cef7055b50d2801e3229bfbccabb4abc5bfbe41e7cee24341425377568f3c8af465ce2d7ff4b827a21c3392fb1e441f1537cc935d53a1736c7fd415dc4d SHA512 38751fe3cd631533691e495fb34264a934d1ff02572d7ad0f04a41ee7191c0c9176465a92b08e8a6d250bc608d33aa9e0da86a2bc871d6e275e400bd0f44c01c
|
||||
DIST carapace-1.0.5.tar.gz 14786701 BLAKE2B 182ac048af0cdac7d8be790630109a97769041a59286bddedd4fa5051445b5f30e487bb96a3eb9483eaac4e7f924d743f326b1f195538433c661f6cac1633dba SHA512 a1343a9ca8d311ca2125c14af169516265f28c82ae6d87029351cd0ca7fadf647a488266eb3df665bd8ffb0e7d342afcec7764c2810d8dd43e6c080659da96d2
|
||||
|
||||
40
app-shells/carapace/carapace-1.0.5.ebuild
Normal file
40
app-shells/carapace/carapace-1.0.5.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2024 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"
|
||||
|
||||
# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html
|
||||
DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${P}-deps.tar.xz"
|
||||
SRC_URI+=" ${DEPS_URI}"
|
||||
|
||||
S="${WORKDIR}/${PN}-bin-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
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