summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-14 01:14:47 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-14 01:20:00 +0100
commit01f3454e3481bb25a55c905b8c209b938f7de60c (patch)
tree2282ee6be947b51da21188ee949d538327b95ffd /app-emacs
parentapp-emacs/org-mode: Stabilize 9.6.1 ALLARCHES, #894248 (diff)
downloadgentoo-01f3454e3481bb25a55c905b8c209b938f7de60c.tar.gz
gentoo-01f3454e3481bb25a55c905b8c209b938f7de60c.tar.bz2
gentoo-01f3454e3481bb25a55c905b8c209b938f7de60c.zip
app-emacs/emacs-crystal-mode: new package; add 0.1.0_p20221008
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/emacs-crystal-mode/Manifest1
-rw-r--r--app-emacs/emacs-crystal-mode/emacs-crystal-mode-0.1.0_p20221008.ebuild30
-rw-r--r--app-emacs/emacs-crystal-mode/files/50emacs-crystal-mode-gentoo.el2
-rw-r--r--app-emacs/emacs-crystal-mode/metadata.xml13
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>