void-packages/srcpkgs/zoxide/template

23 lines
715 B
Bash

# Template file for 'zoxide'
pkgname=zoxide
version=0.9.4
revision=1
build_style=cargo
short_desc="Faster way to navigate your filesystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ajeetdsouza/zoxide"
changelog="https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/CHANGELOG.md"
distfiles="https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v${version}.tar.gz"
checksum=ec002bdca37917130ae34e733eb29d4baa03b130c4b11456d630a01a938e0187
post_install() {
vlicense LICENSE
vcompletion contrib/completions/zoxide.bash bash
vcompletion contrib/completions/zoxide.fish fish
vcompletion contrib/completions/_zoxide zsh
for f in man/man1/*; do
vman $f
done
}