void-packages/srcpkgs/sd/template

21 lines
626 B
Bash

# Template file for 'sd'
pkgname=sd
version=1.0.0
revision=1
build_style=cargo
short_desc="Intuitive find & replace CLI"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://github.com/chmln/sd"
changelog="https://raw.githubusercontent.com/chmln/sd/master/CHANGELOG.md"
distfiles="https://github.com/chmln/sd/archive/refs/tags/v${version}.tar.gz"
checksum=2adc1dec0d2c63cbffa94204b212926f2735a59753494fca72c3cfe4001d472f
post_install() {
vman gen/sd.1
vcompletion gen/completions/sd.bash bash
vcompletion gen/completions/sd.fish fish
vcompletion gen/completions/_sd zsh
vlicense LICENSE
}