commit: 0f4b151a2a5c8430b6a3d2ca98ec3d00e339bdea Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Wed Jul 26 08:35:24 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Wed Jul 26 08:37:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4b151a
app-emacs/php-mode: enable live Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/php-mode/php-mode-1.25.0.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app-emacs/php-mode/php-mode-1.25.0.ebuild b/app-emacs/php-mode/php-mode-1.25.0.ebuild index 66ad92fae09b..a4c5626eb7ec 100644 --- a/app-emacs/php-mode/php-mode-1.25.0.ebuild +++ b/app-emacs/php-mode/php-mode-1.25.0.ebuild @@ -7,13 +7,20 @@ inherit elisp DESCRIPTION="GNU Emacs major mode for editing PHP code" HOMEPAGE="https://github.com/emacs-php/php-mode/" -SRC_URI="https://github.com/emacs-php/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/emacs-php/${PN}.git" +else + SRC_URI="https://github.com/emacs-php/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +fi + S="${WORKDIR}"/${P}/lisp LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" DOCS=( ../AUTHORS.md ../CHANGELOG.md ../CONTRIBUTING.md ../README{,.ja}.md ../docs ) SITEFILE="50${PN}-gentoo.el"
