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

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-17 12:45:00 +02:00
parent 6fd29f90f7
commit e2e34b290e
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST a68-mode-1.2_p20250524.srht.tar.gz 24078 BLAKE2B bb59a90dae90e7a8cb367c1e5110a4927d29975a2c1f5c1cbdacecd9f92b5ab7578317c629c76f7d7c06d8f645c542362a3d352a5ba1f329a124110a8b04af19 SHA512 5478d46bb1a2b33c116eaeb8a4c0f559fd2d366ae59e6003044720702b0920cfab67acdc72da6aa9162f0ba55b9cdf9e72cc6d0c59ae18677b29a206f0f8b5e5

View File

@ -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
}

View File

@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(load "@SITELISP@/a68-mode-autoloads.el" nil t)

View File

@ -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>
<stabilize-allarches/>
<upstream>
<remote-id type="sourcehut">~jemarch/a68-mode</remote-id>
</upstream>
</pkgmetadata>