app-emacs/php-mode: enable live

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-07-26 10:37:41 +02:00
parent 65e94d05fb
commit 0f4b151a2a
+10 -3
View File
@@ -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"