void-packages/srcpkgs/git-cliff/template
2022-04-09 12:14:01 +02:00

25 lines
876 B
Bash

# Template file for 'git-cliff'
pkgname=git-cliff
version=0.6.1
revision=1
build_style=cargo
build_helper=qemu
make_install_args="--path git-cliff"
make_check_args="-- --skip repo::test::git_log" # This test fails without a git repo
short_desc="Changelog generator based on conventional commits"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-only"
homepage="https://github.com/orhun/git-cliff"
changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md"
distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz"
checksum=045fb10ad0ee340172397f2bb6521c7ee0a83dca2c9f9d177300601f6c60184f
post_install() {
vdoc README.md
OUT_DIR=${PWD} vtargetrun ${DESTDIR}/usr/bin/git-cliff-completions
vcompletion "_git-cliff" zsh
vcompletion "git-cliff.fish" fish
vcompletion "git-cliff.bash" bash
}