app-shells/irregular: new package; add 0.7.8

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-03-18 23:53:49 +01:00
parent 248661e4ff
commit cc03fc4966
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST irregular-0.7.8.tar.gz 530657 BLAKE2B e6a350d3ba582bfcfd23a2ff8b3a992fa43a4dbd0fbf18eb9bdb1f5c76f8140c1d27b02cc6feb28bfe1c45be480f72ca8a592b0bb54efb529c78904a79f95019 SHA512 c4a2a8cfe202ec7222c038125b2fed4c58b6611e03bff836b3d90b7e0c6a932a4d00e430cd6212b43fa30e471c8ba8fdbcf0f43474f89c84078386f55575b635

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PowerShell module that helps to understand, use, and build regular expressions"
HOMEPAGE="https://irregular.start-automating.com/
https://github.com/StartAutomating/Irregular/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/StartAutomating/${PN^}.git"
else
SRC_URI="https://github.com/StartAutomating/${PN^}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${P^}"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="${PV}"
RDEPEND="virtual/pwsh:*"
src_install() {
insinto "/usr/share/GentooPowerShell/Modules/${PN^}/${PV}"
doins "${PN^}.psd1"
doins *.ps1 *.ps1xml *.psm1
doins -r Formatting RegEx Types en-us
dodoc *.md
}

View File

@@ -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/StartAutomating/Irregular/issues/</bugs-to>
<remote-id type="github">StartAutomating/Irregular</remote-id>
</upstream>
</pkgmetadata>