commit:     5a9a89c85367a267ac4bd223e5c040d52c678554
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 00:51:40 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 01:44:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9a89c8

app-emacs/bind-chord: new package; add version 2.4.1

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

 app-emacs/bind-chord/Manifest                     |  1 +
 app-emacs/bind-chord/bind-chord-2.4.1.ebuild      | 33 +++++++++++++++++++++++
 app-emacs/bind-chord/files/50bind-chord-gentoo.el |  1 +
 app-emacs/bind-chord/metadata.xml                 | 13 +++++++++
 4 files changed, 48 insertions(+)

diff --git a/app-emacs/bind-chord/Manifest b/app-emacs/bind-chord/Manifest
new file mode 100644
index 000000000000..9aad8f0492a8
--- /dev/null
+++ b/app-emacs/bind-chord/Manifest
@@ -0,0 +1 @@
+DIST use-package-2.4.1.tar.gz 124368 BLAKE2B 
5eaa6f500234d86651e155fa5360362c5e2696a8b258d5785a02b94f4ccacc6a9815e0b53f663684cef1cc9aa6c6812a5f59e04de3a3d7c5ac36e9dfb6ea09ea
 SHA512 
7248243dbddd939eb1ef9e76f9410265ed1cc48398745f593b57122261a6bb3bf4ab40392b6f29476ca33922f7087a52596a87968cf4914e5ed82db6c513bbbf

diff --git a/app-emacs/bind-chord/bind-chord-2.4.1.ebuild 
b/app-emacs/bind-chord/bind-chord-2.4.1.ebuild
new file mode 100644
index 000000000000..d920466ce87f
--- /dev/null
+++ b/app-emacs/bind-chord/bind-chord-2.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Key-chord binding helper for use-package-chords"
+HOMEPAGE="https://github.com/jwiegley/use-package/";
+SRC_URI="https://github.com/jwiegley/use-package/archive/${PV}.tar.gz
+                       -> use-package-${PV}.tar.gz"
+S="${WORKDIR}"/use-package-${PV}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       app-emacs/bind-key
+       app-emacs/key-chord
+"
+BDEPEND="${RDEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+       elisp-compile ${PN}.el
+}
+
+src_install() {
+       elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+       elisp-install ${PN}.el{,c}
+}

diff --git a/app-emacs/bind-chord/files/50bind-chord-gentoo.el 
b/app-emacs/bind-chord/files/50bind-chord-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/bind-chord/files/50bind-chord-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")

diff --git a/app-emacs/bind-chord/metadata.xml 
b/app-emacs/bind-chord/metadata.xml
new file mode 100644
index 000000000000..3f12e84d7508
--- /dev/null
+++ b/app-emacs/bind-chord/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>
+  <upstream>
+    <bugs-to>https://github.com/jwiegley/use-package/issues/</bugs-to>
+    <remote-id type="github">jwiegley/use-package</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to