summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/uxntal-mode')
-rw-r--r--app-emacs/uxntal-mode/Manifest1
-rw-r--r--app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el4
-rw-r--r--app-emacs/uxntal-mode/metadata.xml14
-rw-r--r--app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild19
4 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/uxntal-mode/Manifest b/app-emacs/uxntal-mode/Manifest
new file mode 100644
index 000000000000..8cc984f16315
--- /dev/null
+++ b/app-emacs/uxntal-mode/Manifest
@@ -0,0 +1 @@
+DIST uxntal-mode-0.2.tar.gz 9450 BLAKE2B b8c3517f452c087aafce7fb1f0dd3dceca5160db27c59b24e1eb46eb0496768b330ab5a741fa809284817a3adcf1e4a46a16c6ec44e8d687f299b63e680eca46 SHA512 4f84a67831c9a43361849185c2ab097174a66c70bd2fd57ca175cb46977be5fef2797d52bd70ea6854a69c99cf94faaa8aa5a6f38ef306e895a42ae62de590a9
diff --git a/app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el b/app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el
new file mode 100644
index 000000000000..916ad70e1619
--- /dev/null
+++ b/app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'uxntal-mode "uxntal-mode"
+ "Major mode for editing Uxntal files." t)
+(add-to-list 'auto-mode-alist '("\\.tal\\'" . uxntal-mode))
diff --git a/app-emacs/uxntal-mode/metadata.xml b/app-emacs/uxntal-mode/metadata.xml
new file mode 100644
index 000000000000..d8c98f52eae3
--- /dev/null
+++ b/app-emacs/uxntal-mode/metadata.xml
@@ -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/non/uxntal-mode/issues/</bugs-to>
+ <remote-id type="github">non/uxntal-mode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild b/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild
new file mode 100644
index 000000000000..27a4bd542e1d
--- /dev/null
+++ b/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=27.1
+
+inherit elisp
+
+DESCRIPTION="GNU Emacs major mode for the uxntal assembly language"
+HOMEPAGE="https://github.com/non/uxntal-mode/"
+SRC_URI="https://github.com/non/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"