# Template file for 'codeberg-cli' pkgname=codeberg-cli version=0.3.4 revision=2 build_style=cargo build_helper=qemu hostmakedepends="pkg-config" makedepends="openssl-devel" short_desc="CLI Tool for Codeberg similar to gh and glab" maintainer="Marcin Puc " license="AGPL-3.0-or-later" homepage="https://codeberg.org/RobWalt/codeberg-cli" changelog="https://codeberg.org/RobWalt/codeberg-cli/raw/branch/main/CHANGELOG.md" distfiles="https://codeberg.org/RobWalt/codeberg-cli/archive/v${version}.tar.gz" checksum=379e39412eb5a15b5a0920e29d19d36d5abaa5e5b8d4fb16658e3fbbe3eba189 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 }