summaryrefslogtreecommitdiff
path: root/app-shells/invokebuild/invokebuild-5.10.5.ebuild
blob: 583ef0ac859bfb064de483961ac64989dc07d60f (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="Build and test automation in PowerShell"
HOMEPAGE="https://github.com/nightroman/Invoke-Build/"
SRC_URI="https://www.powershellgallery.com/api/v2/package/${PN}/${PV}
	-> ${P}.zip"
S="${WORKDIR}"

LICENSE="Apache-2.0"
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/InvokeBuild/${PV}"
	doins -r .
}