trc-git

maintainer goldendeals · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from a public git repository with a SKIP'd checksum, but sources are from the project's own GitHub, and no untrusted executables are downloaded or executed; the low severity is due to limited votes and recent upload, not malicious content.

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.

LOW AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 90%): The package builds from a public git repository with a SKIP'd checksum, but sources are from the project's own GitHub, and no untrusted executables are downloaded or executed; the low severity is due to limited votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Ivan Nebotov <i.nebotov@gdllc.dev>
2
3pkgname=trc-git
4_pkgname=trc
5pkgver=0.2.r3.g1b1464d
6pkgrel=1
7pkgdesc='Yandex Tracker CLI (git version)'
8arch=('x86_64' 'aarch64')
9url='https://github.com/fgazat/trc'
10license=('MIT')
11depends=('glibc')
12makedepends=('go' 'git')
13provides=("$_pkgname=$pkgver")
14conflicts=("$_pkgname")
15options=('!lto')
16source=("$_pkgname::git+$url.git")
17sha256sums=('SKIP')
18
19pkgver() {
20 cd "$_pkgname"
21 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
22}
23
24prepare() {
25 cd "$_pkgname"
26 mkdir -p build completions
27 go mod download
28}
29
30build() {
31 cd "$_pkgname"
32
33 export CGO_CPPFLAGS="${CPPFLAGS}"
34 export CGO_CFLAGS="${CFLAGS}"
35 export CGO_CXXFLAGS="${CXXFLAGS}"
36 export CGO_LDFLAGS="${LDFLAGS}"
37 export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
38
39 go build -o build/$_pkgname .
40
41 local shell
42 for shell in bash zsh fish; do
43 TRACKER_TOKEN=x X_ORG_ID=x X_CLOUD_ORG_ID=x \
44 build/$_pkgname completion "$shell" >"completions/$shell"
45 done
46}
47
48package() {
49 cd "$_pkgname"
50
51 install -Dm755 build/$_pkgname "$pkgdir/usr/bin/$_pkgname"
52 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
53 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
54 install -Dm644 config/configexample.yaml \
55 "$pkgdir/usr/share/doc/$pkgname/configexample.yaml"
56
57 install -Dm644 completions/bash "$pkgdir/usr/share/bash-completion/completions/$_pkgname"
58 install -Dm644 completions/zsh "$pkgdir/usr/share/zsh/site-functions/_$_pkgname"
59 install -Dm644 completions/fish "$pkgdir/usr/share/fish/vendor_completions.d/$_pkgname.fish"
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 11:17:50 LOW 2

Report a package

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

0 / 4000
Your suggestion