mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-shells/elvish: new package, add 0.19.2
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
2
app-shells/elvish/Manifest
Normal file
2
app-shells/elvish/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
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
|
||||
38
app-shells/elvish/elvish-0.19.2.ebuild
Normal file
38
app-shells/elvish/elvish-0.19.2.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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"
|
||||
|
||||
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
|
||||
}
|
||||
12
app-shells/elvish/metadata.xml
Normal file
12
app-shells/elvish/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>freijon@pm.me</email>
|
||||
<name>Jonas Frei</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">elves/elvish</remote-id>
|
||||
<bugs-to>https://github.com/elves/elvish/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user