app-emacs/vue-html-mode: new package; add 0.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2023-05-21 17:30:18 +02:00
parent 0ad5bf5caa
commit e2c103e048
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST vue-html-mode-0.2.tar.gz 17744 BLAKE2B 460a6f67c00d3b2e7372209766c2dc1729ff5ac1ef9ca8951ac0677937130d5b54cb3c22702d304efe70aa57117af067b6a103197738efa1f5ee77f285e01c18 SHA512 8fe8f19059d64355af9ae2ac95aba2ac71b50153f5a3270fd75b70433bce3fa628a04abe03dea84671dabe5c604b7b0ae298b33214038ef9fa5dff8aaf418a56

View File

@ -0,0 +1,3 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'vue-html-mode "vue-html-mode"
"Major mode for Vue.js templates." t)

View File

@ -0,0 +1,21 @@
<?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>
<longdescription>
The main features of this mode are syntax highlighting (enabled with
font-lock-mode or global-font-lock-mode), and html-mode integration. Vue
component files are best edited with the excellent vue-mode, which the
author of this package also contributes to. This mode is included in
vue-mode, and is the default mode for editing template blocks.
</longdescription>
<stabilize-allarches />
<upstream>
<bugs-to>https://github.com/AdamNiederer/vue-html-mode/issues/</bugs-to>
<remote-id type="github">AdamNiederer/vue-html-mode</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,24 @@
# 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 editing Vue.js templates"
HOMEPAGE="https://github.com/AdamNiederer/vue-html-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"
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"