aports/testing/zsh-history-search-multi-word/APKBUILD

29 lines
1.2 KiB
Plaintext

# Maintainer: omni <omni+alpine@hack.org>
pkgname=zsh-history-search-multi-word
pkgver=0_git20230705
_gitrev=c4dcddc1cd17e7e0909471703f3526170db0f475
pkgrel=0
pkgdesc="Binds Ctrl-R to a widget that searches for multiple keywords in an AND fashion"
url="https://github.com/zdharma-continuum/history-search-multi-word"
arch="noarch"
license="MIT AND GPL-3.0-or-later"
depends="zsh"
subpackages="$pkgname-doc"
source="history-search-multi-word-$_gitrev.tar.gz::https://github.com/zdharma-continuum/history-search-multi-word/archive/$_gitrev.tar.gz"
builddir="$srcdir/history-search-multi-word-$_gitrev"
options="!check"
package() {
mkdir -p "$pkgdir"/usr/share/zsh/plugins
install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/"$pkgname"/
install -Dm 644 CHANGELOG.md -t "$pkgdir"/usr/share/doc/"$pkgname"/
mkdir -p "$pkgdir"/usr/share/zsh/plugins/history-search-multi-word
mv ./h* "$pkgdir"/usr/share/zsh/plugins/history-search-multi-word
}
sha512sums="
e28d6ae272c03dd2e61c842d6257a1a3c8c6133621c00a39e4951944135a6a3e1ed2edaa9d9dbadb8965733d5e9eeee8d9e97ace65685a197afa3b717c87d02d history-search-multi-word-c4dcddc1cd17e7e0909471703f3526170db0f475.tar.gz
"