void-packages/srcpkgs/zsh-history-substring-search/template

22 lines
665 B
Bash

# Template file for 'zsh-history-substring-search'
pkgname=zsh-history-substring-search
version=1.1.0
revision=1
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=9b52eca6c894dd98caa5f07160199f3f3179ff017575d5acc9fdc467b1ac70f8
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"
}