commit:     e2e34b290e787c37721273a2b2d92d69e7dd50ac
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 10:45:00 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 10:55:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e34b29

app-emacs/a68-mode: new package; add version 1.2_p20250524

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/a68-mode/Manifest                      |  1 +
 app-emacs/a68-mode/a68-mode-1.2_p20250524.ebuild | 37 ++++++++++++++++++++++++
 app-emacs/a68-mode/files/50a68-mode-gentoo.el    |  2 ++
 app-emacs/a68-mode/metadata.xml                  | 13 +++++++++
 4 files changed, 53 insertions(+)

diff --git a/app-emacs/a68-mode/Manifest b/app-emacs/a68-mode/Manifest
new file mode 100644
index 000000000000..9ea8d471fb12
--- /dev/null
+++ b/app-emacs/a68-mode/Manifest
@@ -0,0 +1 @@
+DIST a68-mode-1.2_p20250524.srht.tar.gz 24078 BLAKE2B 
bb59a90dae90e7a8cb367c1e5110a4927d29975a2c1f5c1cbdacecd9f92b5ab7578317c629c76f7d7c06d8f645c542362a3d352a5ba1f329a124110a8b04af19
 SHA512 
5478d46bb1a2b33c116eaeb8a4c0f559fd2d366ae59e6003044720702b0920cfab67acdc72da6aa9162f0ba55b9cdf9e72cc6d0c59ae18677b29a206f0f8b5e5

diff --git a/app-emacs/a68-mode/a68-mode-1.2_p20250524.ebuild 
b/app-emacs/a68-mode/a68-mode-1.2_p20250524.ebuild
new file mode 100644
index 000000000000..a4f563dba5b1
--- /dev/null
+++ b/app-emacs/a68-mode/a68-mode-1.2_p20250524.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Algol68 major mode for GNU Emacs"
+HOMEPAGE="https://elpa.gnu.org/packages/a68-mode.html
+       https://git.sr.ht/~jemarch/a68-mode/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://git.sr.ht/~jemarch/${PN}";
+else
+       if [[ "${PV}" == *_p20250524 ]] ; then
+               COMMIT="c7682e4af4dda0edc7650a56e156ee9b096895db"
+       fi
+
+       SRC_URI="https://git.sr.ht/~jemarch/${PN}/archive/${COMMIT}.tar.gz
+               -> ${P}.srht.tar.gz"
+       S="${WORKDIR}/${PN}-${COMMIT}"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+       elisp_src_compile
+       elisp-make-autoload-file
+}

diff --git a/app-emacs/a68-mode/files/50a68-mode-gentoo.el 
b/app-emacs/a68-mode/files/50a68-mode-gentoo.el
new file mode 100644
index 000000000000..82333fd4eab1
--- /dev/null
+++ b/app-emacs/a68-mode/files/50a68-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/a68-mode-autoloads.el" nil t)

diff --git a/app-emacs/a68-mode/metadata.xml b/app-emacs/a68-mode/metadata.xml
new file mode 100644
index 000000000000..26bf67268b18
--- /dev/null
+++ b/app-emacs/a68-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>[email protected]</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <stabilize-allarches/>
+  <upstream>
+    <remote-id type="sourcehut">~jemarch/a68-mode</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to