gitea-cli

LOW
maintainer quantulr 0 votes scanned 2026-10-24 17:41:05.329835
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: quantulr <35954003+quantulr@users.noreply.github.com>
2pkgname=gitea-cli
3pkgver=0.1.0
4pkgrel=1
5pkgdesc="Official Gitea CLI — Rework of tea cli (repos, issues, PRs, releases)"
6arch=('x86_64' 'aarch64')
7url="https://gitea.com/gitea/cli"
8license=('MIT')
9depends=('glibc')
10makedepends=('go')
11source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
12sha256sums=('b275325123c5cc68e45302cfd99d31259852ffdce21be711fe4872ac6bf8cc57')
13
14build() {
15 cd cli
16 export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
17 go build \
18 -ldflags "-X gitea.dev/cli/internal/version.Version=$pkgver" \
19 -o gt ./cmd/gt
20 # generate man pages and shell completions (dated to the release)
21 SOURCE_DATE_EPOCH=1792713600 go run ./tools/cli-docs --out docs/generated
22}
23
24check() {
25 cd cli
26 # tests assume single-column width for East Asian ambiguous runes
27 LC_ALL=C.UTF-8 go test ./...
28}
29
30package() {
31 cd cli
32 install -Dm755 gt "$pkgdir/usr/bin/gt"
33 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
34 install -Dm644 -t "$pkgdir/usr/share/man/man1/" docs/generated/man/*.1
35 install -Dm644 docs/generated/completion/gt.bash "$pkgdir/usr/share/bash-completion/completions/gt"
36 install -Dm644 docs/generated/completion/_gt "$pkgdir/usr/share/zsh/site-functions/_gt"
37 install -Dm644 docs/generated/completion/gt.fish "$pkgdir/usr/share/fish/vendor_completions.d/gt.fish"
38 install -Dm644 docs/generated/completion/gt.ps1 "$pkgdir/usr/share/powershell/Modules/gt/gt.ps1"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 17:41:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion