Files
void-packages/srcpkgs/zsh-history-substring-search/template
classabbyamp 1c081e70ae *: move non-critical INSTALL.msg to README.voidlinux en masse
to avoid desensitising the user to ignorable INSTALL.msgs, move ones
that just specify things like optional dependencies and initial
configuration tips to README.voidlinux
2023-09-05 18:29:18 -04:00

22 lines
665 B
Bash

# Template file for 'zsh-history-substring-search'
pkgname=zsh-history-substring-search
version=1.0.2
revision=2
depends="zsh"
short_desc="Fish-like history search feature for zsh"
maintainer="Young-Jin Park <youngjinpark20@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/zsh-users/zsh-history-substring-search"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=c1bb21490bd31273fb511b23000fb7caf49c258a79c4b8842f3e1f2ff76fd84c
do_install() {
vinstall ${pkgname}.zsh 644 usr/share/zsh/plugins/${pkgname}
vdoc README.md
sed -n '2,40p' zsh-history-substring-search.zsh > LICENSE
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}