add app-shells/zsh-history-substring-search

This commit is contained in:
Trent Palmer 2018-02-21 11:39:08 -08:00
parent 754aac7ff0
commit 20dd965443
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST zsh-history-substring-search-1.0.1.tar.gz 8409 SHA256 4de589fe54471f0c3449e74c8297b843ef57ce7d8c19d2cae4171a7d4021d85b SHA512 0795befa068cedd46578960cf4102baafd182b69db598700c6361aebf17f64615972a981a5c4aad48318c45e9e9cd623d53956c704baa1b024cef9df83b138eb WHIRLPOOL 2440278e21bf73e27ed7ac1ad148394ca79d710fc6a2c11ad2fab16ecbd370562a152613ef0ab1cb45de50c567a51b68249da0942466ba956e224b9f1bd68894
EBUILD zsh-history-substring-search-1.0.1.ebuild 874 SHA256 1b98496af0269dab370c42efe4fb4133061189ed20334b3f44809674248a0a8e SHA512 5076e43438352808f2510393f126ed57539690bbf5eb3c401584357959d1069849f1de57cee5978988610619cd53ee5bfc1b69b234883d5db5c6003050e8ac70 WHIRLPOOL 568a0714dd2adc68cb71a99cfcf43e856c7cc87a77ae42bfdb1a974a4d5d9a6602046df4c193742fd28337cb5fcd81bbf77266bea8b4018bf609fe2f01e8d572

View File

@ -0,0 +1,35 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit readme.gentoo-r1
DESCRIPTION="A ZSH plugin to search history, a clean-room implementation of the Fish shell feature"
HOMEPAGE="https://github.com/zsh-users/zsh-history-substring-search"
SRC_URI="https://github.com/zsh-users/zsh-history-substring-search/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE=BSD
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
app-shells/zsh"
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
source '${ZSH_DEST}/zsh-history-substring-search.zsh'"
src_install() {
insinto "${ZSH_DEST}"
doins -r *
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
elog "${DOC_CONTENTS}"
}