crossbow-bin
LOW
maintainer czyt
0 votes
scanned 2026-11-06 02:11:16.949189
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: czyt <czytcn@gmail.com>
2
3
pkgname=crossbow-bin
4
pkgver=0.13.5
5
pkgrel=1
6
pkgdesc="Proxy client for mihomo with a Tauri desktop interface"
7
arch=('x86_64')
8
url="https://github.com/Richard-Zhang1019/Crossbow"
9
license=('GPL-3.0-only')
10
depends=(
11
'cairo'
12
'dbus'
13
'gcc-libs'
14
'gdk-pixbuf2'
15
'glib2'
16
'glibc'
17
'gtk3'
18
'libsoup3'
19
'webkit2gtk-4.1'
20
)
21
optdepends=(
22
'iproute2: TUN mode network configuration'
23
'libappindicator-gtk3: system tray icon'
24
'polkit: authorise the TUN helper'
25
)
26
provides=('crossbow')
27
conflicts=('crossbow')
28
options=('!strip' '!debug')
29
30
_tarball="Crossbow_${pkgver}_linux_x86_64.tar.gz"
31
_icons="https://raw.githubusercontent.com/Richard-Zhang1019/Crossbow/v${pkgver}/apps/desktop/src-tauri/icons"
32
source_x86_64=(
33
"crossbow-${pkgver}-x86_64.tar.gz::https://github.com/Richard-Zhang1019/Crossbow/releases/download/v${pkgver}/${_tarball}"
34
"crossbow-128x128.png::${_icons}/128x128.png"
35
"crossbow-512x512.png::${_icons}/icon-source.png"
36
)
37
sha256sums_x86_64=('7d4bff8bb8ede872cc02ae640d8558c6a967a6b7228a0ebb6683ea9621b866c9'
38
'f2618a6eea241e5180c4ca110f36c4602cb690680bbfbf9dfe2497a695002830'
39
'c340471988c04135dfa74696d623f7f30f9f64c3e11b47022fe67ddcfec24679')
40
41
package() {
42
local _src="${srcdir}/Crossbow_${pkgver}_linux_x86_64"
43
local _dir="${pkgdir}/usr/lib/crossbow"
44
45
# crossbow-desktop looks for its core and helper at fixed paths under
46
# /usr/lib/crossbow, and the polkit action points at the service there, so
47
# everything upstream ships stays in one directory.
48
install -dm755 "${_dir}"
49
install -m755 "${_src}/crossbow-desktop" "${_dir}/crossbow-desktop"
50
install -m755 "${_src}/crossbow-service" "${_dir}/crossbow-service"
51
install -m755 "${_src}/mihomo" "${_dir}/mihomo"
52
53
install -Dm644 "${_src}/org.crossbow.tun.policy" \
54
"${pkgdir}/usr/share/polkit-1/actions/org.crossbow.tun.policy"
55
56
# Upstream launches the app from inside its own directory (run.sh); keep
57
# that behaviour so relative lookups behave the same as the tarball.
58
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/crossbow" <<'EOF'
59
#!/bin/sh
60
cd /usr/lib/crossbow || exit 1
61
exec ./crossbow-desktop "$@"
62
EOF
63
64
install -Dm644 "${srcdir}/crossbow-128x128.png" \
65
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/crossbow.png"
66
install -Dm644 "${srcdir}/crossbow-512x512.png" \
67
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/crossbow.png"
68
69
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/crossbow.desktop" <<'EOF'
70
[Desktop Entry]
71
Name=Crossbow
72
Comment=Proxy client for mihomo
73
Exec=crossbow %U
74
Icon=crossbow
75
Terminal=false
76
Type=Application
77
Categories=Network;
78
Keywords=proxy;vpn;mihomo;
79
StartupWMClass=Crossbow-desktop
80
EOF
81
}
82
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-06 02:11:16 | Low | 1 |