gentoo-ebuilds/app-emacs/powershell/powershell-0.3_pre20220805.ebuild
Arthur Zamarin b9b1e16ec4
app-emacs/powershell: Stabilize 0.3_pre20220805 amd64, #949946
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-02-19 09:32:23 +02:00

32 lines
805 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="GNU Emacs mode for editing and running PowerShell code"
HOMEPAGE="https://github.com/jschaf/powershell.el/"
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jschaf/${PN}.el.git"
else
if [[ ${PV} == *_pre20220805 ]] ; then
COMMIT=f2da15857e430206e215a3c65289b4058ae3c976
SRC_URI="https://github.com/jschaf/${PN}.el/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}.el-${COMMIT}
else
SRC_URI="https://github.com/jschaf/${PN}.el/archive/${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}.el-${PV}
fi
KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"