summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-12-27 22:27:40 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-12-27 22:52:35 +0100
commit2704799fc4625fd5d56b5c46f3de2bce79b77c20 (patch)
tree179bae334a6bc1b3162fa526e2d887060b0a56dc /app-shells
parentapp-shells/invokebuild: new package; add 5.10.5 (diff)
downloadgentoo-2704799fc4625fd5d56b5c46f3de2bce79b77c20.tar.gz
gentoo-2704799fc4625fd5d56b5c46f3de2bce79b77c20.tar.bz2
gentoo-2704799fc4625fd5d56b5c46f3de2bce79b77c20.zip
app-shells/linuxinfo: new package; add 0.0.8
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/linuxinfo/Manifest1
-rw-r--r--app-shells/linuxinfo/linuxinfo-0.0.8.ebuild32
-rw-r--r--app-shells/linuxinfo/metadata.xml13
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>