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/linuxinfo/linuxinfo-0.0.8.ebuild
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/linuxinfo/linuxinfo-0.0.8.ebuild')
-rw-r--r--app-shells/linuxinfo/linuxinfo-0.0.8.ebuild32
1 files changed, 32 insertions, 0 deletions
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 .
+}