diff options
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/linuxinfo/Manifest | 1 | ||||
-rw-r--r-- | app-shells/linuxinfo/linuxinfo-0.0.8.ebuild | 32 | ||||
-rw-r--r-- | app-shells/linuxinfo/metadata.xml | 13 |
3 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/linuxinfo/Manifest b/app-shells/linuxinfo/Manifest new file mode 100644 index 000000000000..27d256439ae2 --- /dev/null +++ b/app-shells/linuxinfo/Manifest @@ -0,0 +1 @@ +DIST linuxinfo-0.0.8.zip 15954 BLAKE2B b747617d21954db515c4708675b8dcc18d1df17263b20452cb52536a5b2435018c4dc3ea3783054fca97c11501f511e523a423ed4b5c5475adaab91817139864 SHA512 0ff6e6a3a8ed4a654abec646a900dd1f96bf128ab9ee35a6ab8165e6f2fe97d051666e794fd5e2541cb6b3e37008afa2e0e5d563e096e1a1b8465a14c59611f6 diff --git a/app-shells/linuxinfo/linuxinfo-0.0.8.ebuild b/app-shells/linuxinfo/linuxinfo-0.0.8.ebuild new file mode 100644 index 000000000000..a09d370edb7e --- /dev/null +++ b/app-shells/linuxinfo/linuxinfo-0.0.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Get useful linux system information using PowerShell" +HOMEPAGE="https://github.com/ehmiiz/linuxinfo/" +SRC_URI="https://www.powershellgallery.com/api/v2/package/${PN}/${PV} + -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV}" +KEYWORDS="~amd64" + +RDEPEND=" + virtual/pwsh:* +" +BDEPEND=" + app-arch/unzip +" + +src_prepare() { + default + + rm -f -r '[Content_Types].xml' _rels package || die +} + +src_install() { + insinto "/usr/share/GentooPowerShell/Modules/${PN}/${PV}" + doins -r . +} diff --git a/app-shells/linuxinfo/metadata.xml b/app-shells/linuxinfo/metadata.xml new file mode 100644 index 000000000000..9614814dfe0a --- /dev/null +++ b/app-shells/linuxinfo/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/ehmiiz/linuxinfo/issues/</bugs-to> + <remote-id type="github">ehmiiz/linuxinfo</remote-id> + </upstream> +</pkgmetadata> |