Skip to content

Commit bdd16cd

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

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

srcpkgs/forgejo-cli/template

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
}

0 commit comments

Comments
 (0)