summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-05 02:35:34 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-05 02:42:21 +0100
commit9c200ba669748796880616cda29a4f3bafd0e331 (patch)
treefba84ad41482c9cb6ac0b73ac10d396ee27629fd /app-emacs/crux
parentsys-fs/btrfs-progs: drop 6.1, 6.1.1 (diff)
downloadgentoo-9c200ba669748796880616cda29a4f3bafd0e331.tar.gz
gentoo-9c200ba669748796880616cda29a4f3bafd0e331.tar.bz2
gentoo-9c200ba669748796880616cda29a4f3bafd0e331.zip
app-emacs/crux: new package; add 0.4.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/crux')
-rw-r--r--app-emacs/crux/Manifest1
-rw-r--r--app-emacs/crux/crux-0.4.0.ebuild23
-rw-r--r--app-emacs/crux/files/50crux-gentoo.el2
-rw-r--r--app-emacs/crux/metadata.xml23
4 files changed, 49 insertions, 0 deletions
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-emacs@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>