File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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="qemu"
7+ hostmakedepends="pkg-config libgit2-1.9-devel"
8+ makedepends="libgit2-1.9-devel openssl-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+ changelog="https://codeberg.org/forgejo-contrib/forgejo-cli/releases"
14+ distfiles="https://codeberg.org/forgejo-contrib/forgejo-cli/archive/v${version}.tar.gz"
15+ checksum=8f6a93c5f97e45308aead0154d4ec53e672ca90ab0809db543cde6be8078729e
16+
17+ post_patch() {
18+ cargo update --package cc@1.2.57 --precise 1.2.14
19+ }
20+
21+ post_install() {
22+ vlicense LICENSE-APACHE
23+ vlicense LICENSE-MIT
24+
25+ for _shell in bash fish zsh; do
26+ vtargetrun ${DESTDIR}/usr/bin/fj completion ${_shell} > forgejo-cli.${_shell}
27+ vcompletion fj.${_shell} ${_shell} fj
28+ done
29+ }
You can’t perform that action at this time.
0 commit comments