mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
New package: codeberg-cli-0.3.1
This commit is contained in:
parent
ca6f8f4de0
commit
a56cfabe55
1 changed files with 24 additions and 0 deletions
24
srcpkgs/codeberg-cli/template
Normal file
24
srcpkgs/codeberg-cli/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue