guru/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.1.0.ebuild
tastytea 21a297ba2f
app-shells/zsh-history-substring-search: add 1.1.0
Signed-off-by: tastytea <gentoo@tastytea.de>
2023-09-09 17:14:43 +02:00

34 lines
764 B
Bash

# 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 ~arm"
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
}