# Template file for 'cocogitto' pkgname=cocogitto version=5.3.1 revision=1 build_style=cargo build_helper=qemu hostmakedepends="pkg-config" makedepends="libgit2-devel" depends="gnupg" short_desc="Conventional Commits toolbox" maintainer="Marcin Puc " license="MIT" homepage="https://github.com/cocogitto/cocogitto" changelog="https://raw.githubusercontent.com/cocogitto/cocogitto/main/CHANGELOG.md" distfiles="https://github.com/cocogitto/cocogitto/archive/refs/tags/${version}.tar.gz" checksum=ac6847ce55ba284184d0792afb53c6579da415600bc1b01c180dd87ad34597d0 # Test suite is not atomic, relies on user environment such as git user configuration make_check=no post_install() { local cog="${DESTDIR}/usr/bin/cog" for shell in bash zsh fish; do vtargetrun ${cog} generate-completions ${shell} > cog.${shell} vcompletion cog.${shell} ${shell} cog done vtargetrun ${cog} generate-manpage cog > cog.1 vman cog.1 for subcommand in bump changelog check commit edit init install-hook log verify; do vtargetrun ${cog} generate-manpage ${subcommand} > cog-${subcommand}.1 vman cog-${subcommand}.1 done vdoc README.md vlicense LICENSE }