diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-07 16:11:28 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-07 16:57:41 +0200 |
commit | f032399d2703c2c708d886c6ada3a070da36e538 (patch) | |
tree | f27d663fd968a08675f9eec6086550cadc822a5b /app-shells/posh-dotnet | |
parent | app-office/denaro: new package; add 2023.9.2 (diff) | |
download | gentoo-f032399d2703c2c708d886c6ada3a070da36e538.tar.gz gentoo-f032399d2703c2c708d886c6ada3a070da36e538.tar.bz2 gentoo-f032399d2703c2c708d886c6ada3a070da36e538.zip |
app-shells/posh-dotnet: new package; add 1.2.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-shells/posh-dotnet')
-rw-r--r-- | app-shells/posh-dotnet/Manifest | 1 | ||||
-rw-r--r-- | app-shells/posh-dotnet/metadata.xml | 13 | ||||
-rw-r--r-- | app-shells/posh-dotnet/posh-dotnet-1.2.3.ebuild | 39 |
3 files changed, 53 insertions, 0 deletions
diff --git a/app-shells/posh-dotnet/Manifest b/app-shells/posh-dotnet/Manifest new file mode 100644 index 000000000000..1dff1b35e6e3 --- /dev/null +++ b/app-shells/posh-dotnet/Manifest @@ -0,0 +1 @@ +DIST posh-dotnet-1.2.3.tar.gz 27996 BLAKE2B 88c6c771c5a8df6dc98785d11a586347b2ca167fd2353d373e371c40fa8b9f8385c6706ac9d9473a8a5d07a432a60e72644e69d806c298a9369dd2dc4e778266 SHA512 020d039ba3818cdc4861132514a2182f8093230be9647d1c18a015f095201d1df91b8622e5275db19b0ca5483357854ea5ecb840f2fdcf5a24a358705a3a5751 diff --git a/app-shells/posh-dotnet/metadata.xml b/app-shells/posh-dotnet/metadata.xml new file mode 100644 index 000000000000..c5df59d0fe3b --- /dev/null +++ b/app-shells/posh-dotnet/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>dotnet@gentoo.org</email> + <name>Gentoo Dotnet Project</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.com/bergmeister/posh-dotnet/issues/</bugs-to> + <remote-id type="github">bergmeister/posh-dotnet</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-shells/posh-dotnet/posh-dotnet-1.2.3.ebuild b/app-shells/posh-dotnet/posh-dotnet-1.2.3.ebuild new file mode 100644 index 000000000000..f0151f7e8666 --- /dev/null +++ b/app-shells/posh-dotnet/posh-dotnet-1.2.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="PowerShell tab completion and tooltip support for the dotnet CLI" +HOMEPAGE="https://github.com/bergmeister/posh-dotnet/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/bergmeister/${PN}.git" +else + if [[ "${PV}" == 1.2.3 ]] ; then + COMMIT="c017886cbad9c4f6ce1fbaa38ebbbcada664655b" + + SRC_URI="https://github.com/bergmeister/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-${COMMIT} + else + SRC_URI="https://github.com/bergmeister/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + fi + + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="${PV}" +RESTRICT="test" # Tests fail. + +RDEPEND="virtual/pwsh:*" + +src_install() { + insinto "/usr/share/GentooPowerShell/Modules/${PN}/${PV}" + doins "${PN}.psd1" "${PN}.psm1" + + einstalldocs +} |