commit:     9c200ba669748796880616cda29a4f3bafd0e331
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 01:35:34 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 01:42:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c200ba6

app-emacs/crux: new package; add 0.4.0

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

 app-emacs/crux/Manifest               |  1 +
 app-emacs/crux/crux-0.4.0.ebuild      | 23 +++++++++++++++++++++++
 app-emacs/crux/files/50crux-gentoo.el |  2 ++
 app-emacs/crux/metadata.xml           | 23 +++++++++++++++++++++++
 4 files changed, 49 insertions(+)

diff --git a/app-emacs/crux/Manifest b/app-emacs/crux/Manifest
new file mode 100644
index 000000000000..7aed82f443dd
--- /dev/null
+++ b/app-emacs/crux/Manifest
@@ -0,0 +1 @@
+DIST crux-0.4.0.tar.gz 12611 BLAKE2B 
aa5655b703c81db3cd212caba0027873ccfe42e5b22e7534285d36b9eb9fc17178ee5d2b6500feb281f0fb82c18e599e7769d0a6647f75825695ea8eb5aba5c9
 SHA512 
d961d7f41a184c8521e4cd27e262feda4516807d3157e8ea79bc67086fe65d70be60673246bf3114ddaa50d25caa2622c85a62742e3cd230e5fe69a224ecfa5d

diff --git a/app-emacs/crux/crux-0.4.0.ebuild b/app-emacs/crux/crux-0.4.0.ebuild
new file mode 100644
index 000000000000..29a1dfdebb87
--- /dev/null
+++ b/app-emacs/crux/crux-0.4.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Collection of Ridiculously Useful eXtensions for GNU Emacs"
+HOMEPAGE="https://github.com/bbatsov/crux/";
+SRC_URI="https://github.com/bbatsov/${PN}/archive/v${PV}.tar.gz
+       -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+       elisp_src_compile
+       elisp-make-autoload-file
+}

diff --git a/app-emacs/crux/files/50crux-gentoo.el 
b/app-emacs/crux/files/50crux-gentoo.el
new file mode 100644
index 000000000000..32881b6c6cc0
--- /dev/null
+++ b/app-emacs/crux/files/50crux-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "crux-autoloads" nil t)

diff --git a/app-emacs/crux/metadata.xml b/app-emacs/crux/metadata.xml
new file mode 100644
index 000000000000..870ec9222beb
--- /dev/null
+++ b/app-emacs/crux/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>gnu-em...@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <longdescription>
+    A Collection of Ridiculously Useful eXtensions for Emacs. crux bundles many
+    useful interactive commands to enhance your overall Emacs experience. Most
+    of the crux commands are related to the editing experience, but there are
+    also a bunch of utility commands that are just very useful to have (e.g.
+    crux-open-with and crux-reopen-as-root). Many of the functions in crux
+    started life as blog posts on Emacs Redux, then were included in Emacs
+    Prelude, before finally being extracted to crux. You can see a full list of
+    blog posts on functions in crux on the tags page.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/bbatsov/crux/issues/</bugs-to>
+    <remote-id type="github">bbatsov/crux</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to