From f87d83ebb0d6ae5915c4775f762a0b5bceb9b2a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Oct 2023 18:01:02 +0100 Subject: gentoo auto-resync : 07:10:2023 - 18:01:02 --- app-shells/posh-z/posh-z-1.1.12_p20230811.ebuild | 43 ++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app-shells/posh-z/posh-z-1.1.12_p20230811.ebuild (limited to 'app-shells/posh-z/posh-z-1.1.12_p20230811.ebuild') diff --git a/app-shells/posh-z/posh-z-1.1.12_p20230811.ebuild b/app-shells/posh-z/posh-z-1.1.12_p20230811.ebuild new file mode 100644 index 000000000000..9992bd48a310 --- /dev/null +++ b/app-shells/posh-z/posh-z-1.1.12_p20230811.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Quickly navigate the file system based on your cd history" +HOMEPAGE="https://github.com/badmotorfinger/z/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/badmotorfinger/z.git" +else + if [[ "${PV}" == *_p20230811 ]] ; then + COMMIT="ca1c8d9f004eede2ba907da199bde542d9eff344" + + SRC_URI="https://github.com/badmotorfinger/z/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/z-${COMMIT}" + else + SRC_URI="https://github.com/badmotorfinger/z/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/z-${PV}" + fi + + KEYWORDS="~amd64" +fi + +LICENSE="public-domain" +SLOT="${PV%%_p*}" + +RDEPEND="virtual/pwsh:*" + +src_compile() { + : +} + +src_install() { + insinto "/usr/share/GentooPowerShell/Modules/z/${SLOT}" + doins z.* + + einstalldocs +} -- cgit v1.2.3