aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/codeberg-cli/template
blob: 916dfd5fe842e6eb2280cbe42ace844377bfc591 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Template file for 'codeberg-cli'
pkgname=codeberg-cli
version=0.4.2
revision=1
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="libgit2-devel 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=1b18eba65e62cf795b955dfd95d8bddb3827833628d27641c88252291f02428c

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
}