aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Frei <freijon@pm.me>2024-02-14 20:16:17 +0100
committerJonas Frei <freijon@pm.me>2024-02-14 20:17:04 +0100
commit5dd4c6f120b78355c52b518ce4b56d5b53833702 (patch)
tree5b9ee2c0731e294fb11545121140850c0b32e6d9 /app-shells/elvish
parentapp-shells/carapace: drop 0.29.1 (diff)
downloadguru-5dd4c6f120b78355c52b518ce4b56d5b53833702.tar.gz
guru-5dd4c6f120b78355c52b518ce4b56d5b53833702.tar.bz2
guru-5dd4c6f120b78355c52b518ce4b56d5b53833702.zip
app-shells/elvish: add 0.20.1
Signed-off-by: Jonas Frei <freijon@pm.me>
Diffstat (limited to 'app-shells/elvish')
-rw-r--r--app-shells/elvish/Manifest2
-rw-r--r--app-shells/elvish/elvish-0.20.1.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-shells/elvish/Manifest b/app-shells/elvish/Manifest
index 25a88208b..5ba70a930 100644
--- a/app-shells/elvish/Manifest
+++ b/app-shells/elvish/Manifest
@@ -1,2 +1,4 @@
DIST elvish-0.19.2-deps.tar.xz 2810784 BLAKE2B 1da98f1a790866ae3047b6bbb4a9b70cd976f9b1b3aec9f1b866e3399a8666d37e87a1f44a669f7461f43fd9a0b4719e6f991c26f435e841ad22e90a7c9098e9 SHA512 f164a1ae95a452c8190babc0d08b8c1ce7deafd42a3ed879e96fb26006ddaae6579bab2b0be9d43db0a71958b3ef53da804620bd2668dfb16ad977e9094b13d2
DIST elvish-0.19.2.tar.gz 828904 BLAKE2B 8cbbc8d947267c4fb429023e5de431ac28bd546e279326ff7ccf75397d528f766b8709e06f008449ff273ac59c5eb9297704617d2f6239f5c9251dce609888ae SHA512 e7851659465e01fead104e36a73d0af5d4610e33018c6659e0cdc167e941c926ab4fd8b361da1b24dc88f4c07f6fa77077e069bfeaf0bbadb09913a05f58a2ba
+DIST elvish-0.20.1-deps.tar.xz 2931108 BLAKE2B b737de85c432950fe24ada82c38d2c43bc5afb1fbd41120a285f5f29cbe0a576015ef784f05e42851306156227471731764add3727e4a61a89de57eedd8e969b SHA512 bcc69853e08465df65feb87bab53413162cb838b79c84a95650acc75daea6722102475723fc24b7a780c7193c22601e5eaa498f35ca8b9905cc613eb38f1d262
+DIST elvish-0.20.1.tar.gz 862793 BLAKE2B d40c4ca8328903ecd7c82475e8b51c8f9d47b443c4d353be08ddbf25ecd113a6e81077ae814b1d1cd84d791cdbb3a21d80f3f0d1822732174595f242f375d524 SHA512 d6fd7ab0d494de7d70f7f34117c5e5dc5eb92a076e9782f11b543009872f0a1193d47814d8b67a8fcf3da14fd17a510de1f0ebb8c27f13388a8ca68a94836a61
diff --git a/app-shells/elvish/elvish-0.20.1.ebuild b/app-shells/elvish/elvish-0.20.1.ebuild
new file mode 100644
index 000000000..6c874b78e
--- /dev/null
+++ b/app-shells/elvish/elvish-0.20.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Expressive programming language and a versatile interactive shell"
+HOMEPAGE="https://elv.sh/"
+SRC_URI="https://github.com/elves/${PN}/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}"
+
+LICENSE="BSD-2"
+# Additional licenses used in the package
+LICENSE+=" BSD EPL-1.0 CC-BY-SA-4.0"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="test"
+
+DOCS=(
+ "README.md"
+)
+HTML_DOCS=(
+ "website/learn"
+ "website/ref"
+)
+
+src_compile() {
+ ego build -ldflags "-X src.elv.sh/pkg/buildinfo.BuildVariant=gentoo-guru" "./cmd/${PN}"
+}
+
+src_install() {
+ dobin "${PN}"
+ einstalldocs
+}