summaryrefslogtreecommitdiff
path: root/app-emacs/hydra
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2021-09-29 21:37:25 -0400
committerJohn Turner <jturner.usa+gentoo@gmail.com>2021-09-29 21:37:25 -0400
commit8c8025d9f6c93e757a94e2f75b824ff4a8706029 (patch)
treef7f501eff311d01fd371425af073e24c13f0e248 /app-emacs/hydra
downloadebuilds-8c8025d9f6c93e757a94e2f75b824ff4a8706029.tar.gz
init
Diffstat (limited to 'app-emacs/hydra')
-rw-r--r--app-emacs/hydra/Manifest1
-rw-r--r--app-emacs/hydra/files/50hydra-gentoo.el2
-rw-r--r--app-emacs/hydra/hydra-0.15.0.ebuild29
3 files changed, 32 insertions, 0 deletions
diff --git a/app-emacs/hydra/Manifest b/app-emacs/hydra/Manifest
new file mode 100644
index 0000000..056b7d9
--- /dev/null
+++ b/app-emacs/hydra/Manifest
@@ -0,0 +1 @@
+DIST hydra-0.15.0.tar.gz 36150 BLAKE2B 6e7d1ed6501d5b0fb40f3545d61469e461363dc7ec8900c7c697116cb19704529acfd9e886a1fef09ae50dfd68666e6455c62447140f55b1f4651490855c2b3a SHA512 815a8c425aaeb4d2aeb5d9faa0f66a41e37420b8e9435d93b9e78913c0e0722d1e39cad2e8f4bc12cfe34dad2e3fc1290b23d816181b12fd093f9e4d9d37e814
diff --git a/app-emacs/hydra/files/50hydra-gentoo.el b/app-emacs/hydra/files/50hydra-gentoo.el
new file mode 100644
index 0000000..6a09aa3
--- /dev/null
+++ b/app-emacs/hydra/files/50hydra-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/hydra-autoload.el" nil t)
diff --git a/app-emacs/hydra/hydra-0.15.0.ebuild b/app-emacs/hydra/hydra-0.15.0.ebuild
new file mode 100644
index 0000000..65accbc
--- /dev/null
+++ b/app-emacs/hydra/hydra-0.15.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="24.3"
+
+inherit elisp
+
+DESCRIPTION="A package for GNU Emacs that can be used to tie related commands \
+into a family of short bindings with a common prefix - a Hydra."
+HOMEPAGE="https://github.com/abo-abo/hydra"
+SRC_URI="https://github.com/abo-abo/hydra/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=app-emacs/lv-0.15.0"
+DEPEND="${RDEPEND}"
+
+SITEFILE="50hydra-gentoo.el"
+DOCS=( README.md )
+ELISP_REMOVE="hydra-examples.el hydra-ox.el lv.el"
+
+src_compile() {
+ elisp-make-autoload-file "${S}/${PN}-autoload.el" "${S}/"
+ elisp_src_compile
+}