Skip to content

Commit

Permalink
emacs-kiss-git: new package at git
Browse files Browse the repository at this point in the history
  • Loading branch information
echawk authored and phoebos committed Apr 16, 2024
1 parent 3f4eca6 commit a3f759a
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
19 changes: 19 additions & 0 deletions community/emacs-kiss-git/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh -e

mkdir -p "$1/usr/share/emacs/site-lisp/kiss/"

emacs -batch -q -no-site-file -L . \
-f batch-byte-compile \
./kiss.el

cp kiss.el kiss.elc "$1/usr/share/emacs/site-lisp/kiss/"

mkdir -p "$1/usr/bin/"
cp elkiss "$1/usr/bin/"

mkdir -p "$1/usr/share/doc/elkiss/"
cp README.org "$1/usr/share/doc/elkiss/"

cd "$1/usr/share/emacs/site-lisp/kiss/"
emacs -batch -q -no-site-file \
-eval "(loaddefs-generate \".\" \"kiss-loaddefs.el\")"
3 changes: 3 additions & 0 deletions community/emacs-kiss-git/depends
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
emacs
emacs-compat
emacs-tsort
37 changes: 37 additions & 0 deletions community/emacs-kiss-git/post-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/sh -e

cat << EOF
Included with this package is a CLI wrapper 'elkiss', which you
can use like you would the standard kiss command.
kiss.el is an alternative package manager for kiss linux.
NOTE: kiss.el is *not* bug-for-bug compatible with kiss!
kiss.el supports a much richer configuration compared to kiss,
you can read about the configruations options available in:
> /usr/share/doc/elkiss/README.org
-or-
> https://github.com/echawk/kiss.el/blob/master/README.org
If you would like to use the library portion of kiss.el, you can
simply write the following in your "init.el":
---
(require 'kiss)
-or-
(use-package kiss :ensure nil)
---
Please report any issues/bugs to: https://github.com/echawk/kiss.el
EOF
1 change: 1 addition & 0 deletions community/emacs-kiss-git/sources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git+https://github.com/echawk/kiss.el
1 change: 1 addition & 0 deletions community/emacs-kiss-git/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git 1

0 comments on commit a3f759a

Please sign in to comment.