commit:     52ee6ff68ca357b277cecaaee3fcad33c69d8b0e
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Apr  5 21:25:37 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Tue Apr  5 21:26:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52ee6ff6

app-shells/zsh-history-substring-search: initial import

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 app-shells/zsh-history-substring-search/Manifest   |  1 +
 .../zsh-history-substring-search/metadata.xml      | 17 +++++++++++
 .../zsh-history-substring-search-1.0.2.ebuild      | 33 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/app-shells/zsh-history-substring-search/Manifest 
b/app-shells/zsh-history-substring-search/Manifest
new file mode 100644
index 000000000..73017df55
--- /dev/null
+++ b/app-shells/zsh-history-substring-search/Manifest
@@ -0,0 +1 @@
+DIST zsh-history-substring-search-1.0.2.tar.gz 9074 BLAKE2B 
26c6a080f82586eef9b33bfbe1da89951a6bb9d8e7362dca83d90b9d491e3cd497fb3b4be2ab1a94082351711b941bd7942cd554e7e4d93a69d4168ef13f80ee
 SHA512 
9547cdd74f6bd5b102ca29b7b455cd4ce7450fe86864b5a149365de4c37d3da887edb403b195e80c142fe61861a3e4c063a5d8ba08ec0532b27a1207c80a023d

diff --git a/app-shells/zsh-history-substring-search/metadata.xml 
b/app-shells/zsh-history-substring-search/metadata.xml
new file mode 100644
index 000000000..129a6e5e3
--- /dev/null
+++ b/app-shells/zsh-history-substring-search/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Ronny (tastytea) Gutbrod</name>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="github">zsh-users/zsh-history-substring-search</remote-id>
+       </upstream>
+       <longdescription lang="en">
+               A clean-room implementation of the Fish shell's history search
+               feature, where you can type in any part of any command from
+               history and then press chosen keys, such as the UP and DOWN
+               arrows, to cycle through matches.
+       </longdescription>
+</pkgmetadata>

diff --git 
a/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild
 
b/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild
new file mode 100644
index 000000000..52a8faa38
--- /dev/null
+++ 
b/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1
+
+DESCRIPTION="ZSH port of Fish history search (up arrow)"
+HOMEPAGE="https://github.com/zsh-users/zsh-history-substring-search";
+SRC_URI="https://github.com/zsh-users/zsh-history-substring-search/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-shells/zsh"
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
+. /usr/share/zsh/site-functions/async.zsh
+at the end of your ~/.zshrc"
+
+src_install() {
+       insinto /usr/share/zsh/site-functions
+       doins ${PN}.zsh
+
+       readme.gentoo_create_doc
+       einstalldocs
+}
+
+pkg_postinst() {
+       readme.gentoo_print_elog
+}

Reply via email to