mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
app-emacs/php-mode: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user