summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-26 10:35:24 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-26 10:37:41 +0200
commit0f4b151a2a5c8430b6a3d2ca98ec3d00e339bdea (patch)
treeacb417069b67350395984b5f7461ad23a7759498 /app-emacs/php-mode
parentapp-emacs/php-mode: bump to 1.25.0 (diff)
downloadgentoo-0f4b151a2a5c8430b6a3d2ca98ec3d00e339bdea.tar.gz
gentoo-0f4b151a2a5c8430b6a3d2ca98ec3d00e339bdea.tar.bz2
gentoo-0f4b151a2a5c8430b6a3d2ca98ec3d00e339bdea.zip
app-emacs/php-mode: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/php-mode')
-rw-r--r--app-emacs/php-mode/php-mode-1.25.0.ebuild13
1 files 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"