summaryrefslogtreecommitdiff
path: root/app-emacs/cfrs
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/cfrs')
-rw-r--r--app-emacs/cfrs/Manifest1
-rw-r--r--app-emacs/cfrs/cfrs-1.5.4.ebuild29
-rw-r--r--app-emacs/cfrs/files/50cfrs-gentoo.el2
3 files changed, 32 insertions, 0 deletions
diff --git a/app-emacs/cfrs/Manifest b/app-emacs/cfrs/Manifest
new file mode 100644
index 0000000..c0d3455
--- /dev/null
+++ b/app-emacs/cfrs/Manifest
@@ -0,0 +1 @@
+DIST cfrs-1.5.4.tar.gz 27542 BLAKE2B b53e2681b3107d590d73175aa608ee617ec99e941e2a0d840dc6dcd48a1a835fd909d20163e96981fa20225ac83903be81ba138ef9485d043e76eb353a3c7b70 SHA512 36d15573d7211db62f5877b0b0d30129e8f264c54bde9e5d01fb5b825ee362d30a082f98413ebff8862e142140544635564d0f31723535869bfea339a4407a69
diff --git a/app-emacs/cfrs/cfrs-1.5.4.ebuild b/app-emacs/cfrs/cfrs-1.5.4.ebuild
new file mode 100644
index 0000000..dde6c31
--- /dev/null
+++ b/app-emacs/cfrs/cfrs-1.5.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="26.1"
+
+inherit elisp
+
+DESCRIPTION="A simple alternative to read-string that allows reading input via a small child-frame spawned at the position of the cursor."
+HOMEPAGE="https://github.com/Alexander-Miller/cfrs"
+SRC_URI="https://github.com/Alexander-Miller/cfrs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=">=app-emacs/dash-2.11.0
+>=app-emacs/posframe-0.8.5
+>=app-emacs/s-1.10.0"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50cfrs-gentoo.el"
+DOCS=( README.org )
+
+src_compile() {
+ elisp-make-autoload-file "${S}/${PN}-autoload.el" "${S}/"
+ elisp_src_compile
+}
diff --git a/app-emacs/cfrs/files/50cfrs-gentoo.el b/app-emacs/cfrs/files/50cfrs-gentoo.el
new file mode 100644
index 0000000..7a416a1
--- /dev/null
+++ b/app-emacs/cfrs/files/50cfrs-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/cfrs-autoload.el" nil t)