New package: codeberg-cli-0.3.1

This commit is contained in:
Marcin Puc 2023-02-04 01:55:35 +01:00 committed by Michal Vasilek
parent ca6f8f4de0
commit a56cfabe55

View file

@ -0,0 +1,24 @@
# Template file for 'codeberg-cli'
pkgname=codeberg-cli
version=0.3.1
revision=1
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 <tranzystorek.io@protonmail.com>"
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=b4587775572c1a4fcbead50cf996db4d218ecb295aaca749ff2d6d8e027b051d
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
}