summaryrefslogtreecommitdiff
path: root/app-shells/linuxinfo/linuxinfo-0.0.8.ebuild
blob: a09d370edb7e9a64726ac11318f21e2b0e03d027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 .
}