touchfish-client
LOW
maintainer JohnChiao
1 votes
scanned 2026-10-08 06:08:09.921094
Why flagged
Package builds from source hosted on a plausible project-owned GitHub repository, despite SKIP'd checksum and low votes; no remote code execution or malicious payload detected.
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%): Package builds from source hosted on a plausible project-owned GitHub repository, despite SKIP'd checksum and low votes; no remote code execution or malicious payload detected.
PKGBUILD
1
# Maintainer: JohnChiao <johnchiao@outlook.com>
2
pkgname=touchfish-client
3
pkgver=0.0.3
4
pkgrel=1
5
pkgdesc="TouchFish V5 官方支持的现代化客户端,基于 Flutter 构建"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/JohnChiao75/TouchFish-Client"
8
license=('AGPL-3.0')
9
depends=(
10
'gtk3'
11
'libsecret'
12
'jsoncpp'
13
'mpv'
14
'gstreamer'
15
'gst-plugins-base'
16
'gst-plugins-good'
17
'gst-libav'
18
)
19
makedepends=(
20
'flutter'
21
'clang'
22
'cmake'
23
'ninja'
24
'pkgconf'
25
'patchelf'
26
)
27
source=("$pkgname-$pkgver.tar.gz::https://github.com/JohnChiao75/TouchFish-Client/archive/refs/heads/aur.tar.gz")
28
sha256sums=('SKIP')
29
30
build() {
31
cd "$srcdir/TouchFish-Client-aur"
32
33
# 获取 Flutter 依赖
34
flutter pub get
35
36
# 构建 Linux 发布版本
37
flutter build linux --release
38
}
39
40
package() {
41
cd "$srcdir/TouchFish-Client-aur"
42
43
# 安装主程序到 /usr/lib/touchfish-client
44
install -d "$pkgdir/usr/lib/$pkgname"
45
cp -r build/linux/x64/release/bundle/* "$pkgdir/usr/lib/$pkgname/"
46
47
# 创建启动脚本
48
install -d "$pkgdir/usr/bin"
49
cat > "$pkgdir/usr/bin/$pkgname" << 'EOF'
50
#!/bin/sh
51
exec /usr/lib/touchfish-client/touchfish_client "$@"
52
EOF
53
chmod 755 "$pkgdir/usr/bin/$pkgname"
54
55
# 安装许可证文件
56
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
57
58
# 安装桌面入口文件
59
install -d "$pkgdir/usr/share/applications"
60
cat > "$pkgdir/usr/share/applications/$pkgname.desktop" << EOF
61
[Desktop Entry]
62
Name=TouchFish Client
63
Comment=TouchFish V5 现代化聊天客户端
64
Exec=$pkgname
65
Icon=$pkgname
66
Terminal=false
67
Type=Application
68
Categories=Network;InstantMessaging;
69
EOF
70
}
71
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 06:08:09 | Low | 2 |