gentoo-ebuilds/app-shells/linuxinfo/linuxinfo-0.0.8.ebuild
Sam James 834fd0a827
app-shells/linuxinfo: Stabilize 0.0.8 amd64, #930687
Signed-off-by: Sam James <sam@gentoo.org>
2024-04-25 23:16:55 +01:00

32 lines
601 B
Bash

# Copyright 1999-2024 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 .
}