# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=zsh-history-substring-search
pkgver=1.1.0
pkgrel=0
pkgdesc="Zsh port of the Fish shell's history search"
url="https://github.com/zsh-users/zsh-history-substring-search"
arch="noarch"
license="BSD-3-Clause"
depends="zsh"
source="https://github.com/zsh-users/zsh-history-substring-search/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
options="!check"  # upstream does not provide tests

package() {
	install -D -m644 *.zsh -t "$pkgdir"/usr/share/zsh/plugins/$pkgname/
}

sha512sums="
267efc0960f6403b748e78734b43b8d997f05a2a2542520508e6ef028ef2e0a2c0805d24ae5ad4c30454742a08a7abf2e3baa591e60a660a0ca54aca0ad7175a  zsh-history-substring-search-1.1.0.tar.gz
"
