# Template file for 'codeberg-cli' pkgname=codeberg-cli version=0.4.9 revision=1 build_style=cargo build_helper=qemu hostmakedepends="pkg-config" makedepends="libgit2-1.8-devel openssl-devel" short_desc="CLI Tool for Codeberg similar to gh and glab" maintainer="tranzystorekk " license="AGPL-3.0-or-later" homepage="https://codeberg.org/Aviac/codeberg-cli" changelog="https://codeberg.org/Aviac/codeberg-cli/raw/branch/main/CHANGELOG.md" distfiles="https://codeberg.org/Aviac/codeberg-cli/archive/v${version}.tar.gz" checksum=e5f5bcbde7f09e90bd987862e1c7217ce8993d8016d7fec20daf50056e6dafce post_install() { vlicense LICENSE for shell in bash fish zsh; do vtargetrun ${DESTDIR}/usr/bin/berg completion ${shell} > berg.${shell} vcompletion berg.${shell} ${shell} berg done }