app-emacs/vue-mode: new package; add 0.4
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
e2c103e048
commit
b70e431065
|
@ -0,0 +1 @@
|
|||
DIST vue-mode-0.4.tar.gz 12023 BLAKE2B bb20f56544b8bd67ece2753febb88c854b1ba243aeb7bc394cfece877a521c16fcb9284c4fcb2099b1cf65a0ae63252502668cf69f78043eebb68e295c620505 SHA512 2612b9928a6a2b209b82326e5600287072a284a7d4c431029d775be517893cef6825c0bb011689ab9d7258631ea2007d1613343b6bf8bf0676847a2dcfd039c6
|
|
@ -0,0 +1,4 @@
|
|||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'vue-mode "vue-mode"
|
||||
"Major mode for vue component based on mmm-mode" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.vue\\'" . vue-mode))
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches />
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/AdamNiederer/vue-mode/issues/</bugs-to>
|
||||
<remote-id type="github">AdamNiederer/vue-mode</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Major Emacs mode for vue component based on mmm-mode"
|
||||
HOMEPAGE="https://github.com/AdamNiederer/vue-mode/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/AdamNiederer/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/AdamNiederer/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/edit-indirect
|
||||
app-emacs/mmm-mode
|
||||
app-emacs/ssass-mode
|
||||
app-emacs/vue-html-mode
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
app-emacs/undercover
|
||||
app-emacs/s
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
elisp-enable-tests ert-runner test
|
Loading…
Reference in New Issue