xrat-bin
LOW
maintainer f02xygen
0 votes
scanned 2026-08-26 17:30:31.857880
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: f02xygen <i@f02xy.ru>
2
pkgname=xrat-bin
3
pkgver=0.19.0
4
pkgrel=1
5
pkgdesc="Rust CLI/TUI proxy manager for Xray-core, V2Ray-core, and sing-box"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/mhyrzt/xrat"
8
license=('Apache-2.0' 'MIT')
9
depends=('glibc' 'gcc-libs')
10
optdepends=(
11
'xray: Xray core executable for running proxy sessions'
12
'sing-box: sing-box core executable'
13
'v2ray: V2Ray core executable'
14
)
15
provides=('xrat')
16
conflicts=('xrat')
17
options=('!strip')
18
19
source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::https://github.com/mhyrzt/xrat/releases/download/v${pkgver}/xrat-v${pkgver}-x86_64-unknown-linux-musl.tar.gz")
20
source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::https://github.com/mhyrzt/xrat/releases/download/v${pkgver}/xrat-v${pkgver}-aarch64-unknown-linux-musl.tar.gz")
21
22
sha256sums_x86_64=('be2ac18a28ab167c29fa8533f1235936a79637794a4a8fe5113993a99ae959f0')
23
sha256sums_aarch64=('f29f88f10ca61e5915c68829cd721d8520ff68398d59f2678bc60a04dc59b2f5')
24
25
package() {
26
cd "$srcdir"
27
28
install -Dm755 xrat -t "$pkgdir/usr/bin/"
29
30
if [ -d "completions" ]; then
31
install -Dm644 completions/xrat.bash "$pkgdir/usr/share/bash-completion/completions/xrat"
32
install -Dm644 completions/xrat.zsh "$pkgdir/usr/share/zsh/site-functions/_xrat"
33
install -Dm644 completions/xrat.fish "$pkgdir/usr/share/fish/vendor_completions.d/xrat.fish"
34
fi
35
36
if [ -f "LICENSE" ]; then
37
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
38
fi
39
}
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-26 17:30:31 | Low | 1 |