crossbow-bin

LOW
maintainer czyt 0 votes scanned 2026-11-06 02:11:16.949189
View on AUR
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
3pkgname=crossbow-bin
4pkgver=0.13.5
5pkgrel=1
6pkgdesc="Proxy client for mihomo with a Tauri desktop interface"
7arch=('x86_64')
8url="https://github.com/Richard-Zhang1019/Crossbow"
9license=('GPL-3.0-only')
10depends=(
11 'cairo'
12 'dbus'
13 'gcc-libs'
14 'gdk-pixbuf2'
15 'glib2'
16 'glibc'
17 'gtk3'
18 'libsoup3'
19 'webkit2gtk-4.1'
20)
21optdepends=(
22 'iproute2: TUN mode network configuration'
23 'libappindicator-gtk3: system tray icon'
24 'polkit: authorise the TUN helper'
25)
26provides=('crossbow')
27conflicts=('crossbow')
28options=('!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"
32source_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)
37sha256sums_x86_64=('7d4bff8bb8ede872cc02ae640d8558c6a967a6b7228a0ebb6683ea9621b866c9'
38 'f2618a6eea241e5180c4ca110f36c4602cb690680bbfbf9dfe2497a695002830'
39 'c340471988c04135dfa74696d623f7f30f9f64c3e11b47022fe67ddcfec24679')
40
41package() {
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
60cd /usr/lib/crossbow || exit 1
61exec ./crossbow-desktop "$@"
62EOF
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]
71Name=Crossbow
72Comment=Proxy client for mihomo
73Exec=crossbow %U
74Icon=crossbow
75Terminal=false
76Type=Application
77Categories=Network;
78Keywords=proxy;vpn;mihomo;
79StartupWMClass=Crossbow-desktop
80EOF
81}
82

Scan history

Scanned at (UTC)SeverityRules
2026-11-06 02:11:16 Low 1

Report a package

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

0 / 4000
Your suggestion