diff options
Diffstat (limited to 'app-emacs/emacs-crystal-mode')
4 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/emacs-crystal-mode/Manifest b/app-emacs/emacs-crystal-mode/Manifest new file mode 100644 index 000000000000..2c9e23c7f0cd --- /dev/null +++ b/app-emacs/emacs-crystal-mode/Manifest @@ -0,0 +1 @@ +DIST emacs-crystal-mode-0.1.0_p20221008.tar.gz 38944 BLAKE2B 62e8a98bdf036a80dd227a00758146944869c9735867e31f9fc9c7edf01edd937c859d85a348e17fa29c55446309f4dd4958bec42ea23c19dbe4039e1a835bf2 SHA512 12445858a4f71620d9e785b16fa9562e54947f41fcf2ad3299b1e10359c241548686e34e14d7a80f116533bff0a08a3a333cc4616ccb3aa5dadee32ba8a7ae96 diff --git a/app-emacs/emacs-crystal-mode/emacs-crystal-mode-0.1.0_p20221008.ebuild b/app-emacs/emacs-crystal-mode/emacs-crystal-mode-0.1.0_p20221008.ebuild new file mode 100644 index 000000000000..3a0c33520235 --- /dev/null +++ b/app-emacs/emacs-crystal-mode/emacs-crystal-mode-0.1.0_p20221008.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == *_p20221008 ]] && COMMIT=9bfb9f0f566e937cc6a2f2913d1b56978b81dc99 +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="GNU Emacs major mode for editing Crystal programming language files" +HOMEPAGE="https://github.com/crystal-lang-tools/emacs-crystal-mode/" +SRC_URI="https://github.com/crystal-lang-tools/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${COMMIT} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="app-emacs/flycheck" +BDEPEND="${RDEPEND}" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + elisp-make-autoload-file +} diff --git a/app-emacs/emacs-crystal-mode/files/50emacs-crystal-mode-gentoo.el b/app-emacs/emacs-crystal-mode/files/50emacs-crystal-mode-gentoo.el new file mode 100644 index 000000000000..8530b6227015 --- /dev/null +++ b/app-emacs/emacs-crystal-mode/files/50emacs-crystal-mode-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "emacs-crystal-mode-autoloads" nil t) diff --git a/app-emacs/emacs-crystal-mode/metadata.xml b/app-emacs/emacs-crystal-mode/metadata.xml new file mode 100644 index 000000000000..0e4f38833a48 --- /dev/null +++ b/app-emacs/emacs-crystal-mode/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <upstream> + <bugs-to>https://github.com/crystal-lang-tools/emacs-crystal-mode/issues/</bugs-to> + <remote-id type="github">crystal-lang-tools/emacs-crystal-mode</remote-id> + </upstream> +</pkgmetadata> |