summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-21 02:47:00 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-21 03:44:49 +0200
commit2dd3b162344dc151518f776d91e80a84c09051c4 (patch)
tree1fbedf558559906dd783151158814822bc158084 /app-emacs/bind-key
parentapp-emacs/key-chord: new package; add version 0.6_p20201222 (diff)
downloadgentoo-2dd3b162344dc151518f776d91e80a84c09051c4.tar.gz
gentoo-2dd3b162344dc151518f776d91e80a84c09051c4.tar.bz2
gentoo-2dd3b162344dc151518f776d91e80a84c09051c4.zip
app-emacs/bind-key: new package; add version 2.4.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/bind-key')
-rw-r--r--app-emacs/bind-key/Manifest1
-rw-r--r--app-emacs/bind-key/bind-key-2.4.1.ebuild27
-rw-r--r--app-emacs/bind-key/files/50bind-key-gentoo.el1
-rw-r--r--app-emacs/bind-key/metadata.xml13
4 files changed, 42 insertions, 0 deletions
diff --git a/app-emacs/bind-key/Manifest b/app-emacs/bind-key/Manifest
new file mode 100644
index 000000000000..9aad8f0492a8
--- /dev/null
+++ b/app-emacs/bind-key/Manifest
@@ -0,0 +1 @@
+DIST use-package-2.4.1.tar.gz 124368 BLAKE2B 5eaa6f500234d86651e155fa5360362c5e2696a8b258d5785a02b94f4ccacc6a9815e0b53f663684cef1cc9aa6c6812a5f59e04de3a3d7c5ac36e9dfb6ea09ea SHA512 7248243dbddd939eb1ef9e76f9410265ed1cc48398745f593b57122261a6bb3bf4ab40392b6f29476ca33922f7087a52596a87968cf4914e5ed82db6c513bbbf
diff --git a/app-emacs/bind-key/bind-key-2.4.1.ebuild b/app-emacs/bind-key/bind-key-2.4.1.ebuild
new file mode 100644
index 000000000000..eca71e9ca659
--- /dev/null
+++ b/app-emacs/bind-key/bind-key-2.4.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Simple way to manage personal keybindings"
+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"
+
+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-key/files/50bind-key-gentoo.el b/app-emacs/bind-key/files/50bind-key-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/bind-key/files/50bind-key-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/bind-key/metadata.xml b/app-emacs/bind-key/metadata.xml
new file mode 100644
index 000000000000..3f12e84d7508
--- /dev/null
+++ b/app-emacs/bind-key/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/jwiegley/use-package/issues/</bugs-to>
+ <remote-id type="github">jwiegley/use-package</remote-id>
+ </upstream>
+</pkgmetadata>