cocogitto: update to 5.3.1

This commit is contained in:
Marcin Puc 2023-01-22 15:39:25 +01:00 committed by Michal Vasilek
parent bf992357bb
commit 47f85bdd7d

View file

@ -1,7 +1,7 @@
# Template file for 'cocogitto'
pkgname=cocogitto
version=5.2.0
revision=2
version=5.3.1
revision=1
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
@ -13,17 +13,25 @@ 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=99f9dee05597d7721f6d046dbfefba5cb8d1c4ae22ced415f724affb3a6bd0cc
checksum=ac6847ce55ba284184d0792afb53c6579da415600bc1b01c180dd87ad34597d0
# Test suite is not atomic, relies on user environment such as git user configuration
make_check=no
post_install() {
COG="${DESTDIR}/usr/bin/cog"
local cog="${DESTDIR}/usr/bin/cog"
for shell in bash zsh fish; do
vtargetrun ${COG} generate-completions ${shell} > cog.${shell}
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
}