Skip to content

Commit 98f7e57

Browse files
committed
New package: forgejo-cli-0.4.1
1 parent 79161ba commit 98f7e57

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

srcpkgs/forgejo-cli/template

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Template file for 'forgejo-cli'
2+
pkgname=forgejo-cli
3+
version=0.4.1
4+
revision=1
5+
build_style=cargo
6+
build_helper="rust qemu"
7+
hostmakedepends="pkg-config cmake"
8+
makedepends="libgit2-1.9-devel libssh2-devel openssl-devel zlib-devel"
9+
short_desc="CLI application for interacting with Forgejo"
10+
maintainer="rayfadh <rayfadh@duck.com>"
11+
license="Apache-2.0 OR MIT"
12+
homepage="https://codeberg.org/forgejo-contrib/forgejo-cli"
13+
distfiles="https://codeberg.org/forgejo-contrib/forgejo-cli/archive/v${version}.tar.gz"
14+
checksum=8f6a93c5f97e45308aead0154d4ec53e672ca90ab0809db543cde6be8078729e
15+
16+
post_install() {
17+
vlicense LICENSE-APACHE
18+
vlicense LICENSE-MIT
19+
20+
for shell in bash fish zsh; do
21+
vtargetrun ${DESTDIR}/usr/bin/fj completion ${shell} > forgejo-cli.${shell}
22+
vcompletion forgejo-cli.${shell} ${shell} fj
23+
done
24+
}

0 commit comments

Comments
 (0)