# Template file for 'git-cliff' pkgname=git-cliff version=1.2.0 revision=1 archs="x86_64* i686* aarch64* arm*" # ring 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 hostmakedepends="pkg-config" makedepends="libgit2-devel" short_desc="Changelog generator based on conventional commits" maintainer="Jan Christian Grünhage " 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=10db6fd8fe777f384de2e00336b1cb664095a2f068526f8ace4e7944a7ada270 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 OUT_DIR=${PWD} vtargetrun ${DESTDIR}/usr/bin/git-cliff-mangen vman git-cliff.1 }