vi-tg-git
maintainer shafrnv
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
Package builds from its own git source, uses standard build tools, and installs binaries and docs; the only concerns are low-vote count, recent upload, and skipped checksum, which are common in new AUR packages but not inherently dangerous.
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 95%): Package builds from its own git source, uses standard build tools, and installs binaries and docs; the only concerns are low-vote count, recent upload, and skipped checksum, which are common in new AUR packages but not inherently dangerous.
PKGBUILD
1
# Maintainer: shafrnv <shafrnv@localhost>
2
pkgname=vi-tg-git
3
pkgver=0.1.0.r1.g57f6b7b
4
pkgrel=1
5
pkgdesc="Terminal Telegram client (Go backend + Rust TUI)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/shafrnv/vi-tg"
8
license=('MIT')
9
depends=('glibc' 'gcc-libs' 'ffmpeg' 'mpv')
10
makedepends=('git' 'go' 'rust' 'pkgconf')
11
optdepends=(
12
'curl: faster backend readiness check in launcher'
13
'xdotool: optional X11 helper used by TUI'
14
)
15
provides=('vi-tg')
16
conflicts=('vi-tg')
17
options=('!lto')
18
source=("git+${url}.git")
19
sha256sums=('SKIP')
20
21
pkgver() {
22
cd vi-tg
23
local ver
24
ver="$(grep -m1 '^version' Cargo.toml | sed 's/.*"\(.*\)"/\1/')"
25
printf "%s.r%s.g%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
26
}
27
28
prepare() {
29
cd vi-tg
30
export CARGO_HOME="$srcdir/cargo-home"
31
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
32
}
33
34
build() {
35
cd vi-tg
36
export CARGO_HOME="$srcdir/cargo-home"
37
export CGO_ENABLED=1
38
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
39
export GOPATH="$srcdir/gopath"
40
export GOMODCACHE="$srcdir/gomodcache"
41
export GOCACHE="$srcdir/gocache"
42
43
go build -ldflags="-s -w" -o vi-tg-server ./backend/
44
cargo build --release --locked --offline
45
}
46
47
package() {
48
cd vi-tg
49
install -Dm755 target/release/vi-tg "$pkgdir/usr/bin/vi-tg-tui"
50
install -Dm755 vi-tg-server "$pkgdir/usr/bin/vi-tg-server"
51
install -Dm755 scripts/vi-tg.sh "$pkgdir/usr/bin/vi-tg"
52
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
53
install -Dm644 README.md "$pkgdir/usr/share/doc/vi-tg/README.md"
54
}
55
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 15:14:11 | LOW | 2 |