void-packages/srcpkgs/zoxide/template

23 lines
715 B
Bash

# Template file for 'zoxide'
pkgname=zoxide
version=0.9.2
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=a6c2d993a02211c3d23b242c2c6faab9a2648be7a45ad1ff0586651ac827e914
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
}