siyuan-unlock-bin

LOW
maintainer colegeming 0 votes scanned 2026-08-27 13:32:42.941682
View on AUR
Why flagged

The package builds from prebuilt binaries hosted on GitHub Releases, which is a common and generally trusted source; despite the 'unlock' variant implying potential license modification, the source is verifiable via checksums and hosts no obvious malicious payloads.

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%): The package builds from prebuilt binaries hosted on GitHub Releases, which is a common and generally trusted source; despite the 'unlock' variant implying potential license modification, the source is verifiable via checksums and hosts no obvious malicious payloads.

PKGBUILD

1# Maintainer: colegeming <collegeming@outlook.com>
2
3pkgname=siyuan-unlock-bin
4pkgver=3.8.1
5pkgrel=1
6pkgdesc='Privacy-first personal knowledge management software (prebuilt binary)'
7arch=('x86_64' 'aarch64')
8url='https://b3log.org/siyuan/en/'
9license=('AGPL-3.0-only')
10depends=('alsa-lib' 'gtk3' 'libxss' 'nss' 'libxtst' 'xdg-utils')
11provides=('siyuan' 'siyuan-unlock')
12conflicts=('siyuan' 'siyuan-unlock')
13options=('!strip')
14source_x86_64=("https://github.com/appdev/siyuan-unlock/releases/download/v${pkgver}/siyuan-${pkgver}-linux.tar.gz")
15sha256sums_x86_64=('0af027edb1068581127ebf8051cf4e523ef1865409d63faf54b6a9887daca48c')
16source_aarch64=("https://github.com/appdev/siyuan-unlock/releases/download/v${pkgver}/siyuan-${pkgver}-linux-arm64.tar.gz")
17sha256sums_aarch64=('342cc8f075116c46e63aef405ca1f4481d8a35beacf17ba6806eca2dcfb4cd5c')
18
19package() {
20 local appdir="${pkgdir}/opt/siyuan"
21 local srcdir
22
23 case "${CARCH}" in
24 x86_64) srcdir="siyuan-${pkgver}-linux" ;;
25 aarch64) srcdir="siyuan-${pkgver}-linux-arm64" ;;
26 esac
27
28 install -d "${appdir}"
29 cp -r "${srcdir}/." "${appdir}/"
30
31 # Electron requires the sandbox helper to be owned by root and setuid.
32 chmod 4755 "${appdir}/chrome-sandbox"
33
34 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/siyuan" <<'EOF'
35#!/bin/bash
36
37if [[ -n ${WAYLAND_DISPLAY:-} || ${XDG_SESSION_TYPE:-} == wayland ]]; then
38 exec /opt/siyuan/siyuan --ozone-platform=x11 "$@"
39fi
40
41exec /opt/siyuan/siyuan "$@"
42EOF
43
44 install -Dm644 "${appdir}/resources/stage/icon.png" \
45 "${pkgdir}/usr/share/icons/hicolor/128x128/apps/org.b3log.siyuan.png"
46
47 install -Dm644 /dev/stdin \
48 "${pkgdir}/usr/share/applications/org.b3log.siyuan.desktop" <<'EOF'
49[Desktop Entry]
50Name=SiYuan
51Comment=Refactor your thinking
52Exec=siyuan %U
53Icon=org.b3log.siyuan
54Terminal=false
55Type=Application
56Categories=Office;Utility;
57MimeType=x-scheme-handler/siyuan;
58StartupWMClass=SiYuan
59EOF
60
61 install -Dm644 "${appdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
62 install -Dm644 "${appdir}/LICENSE.electron.txt" \
63 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt"
64 install -Dm644 "${appdir}/LICENSES.chromium.html" \
65 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
66}

Scan history

Scanned at (UTC)SeverityRules
2026-08-27 13:32:42 Low 2

Report a package

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

0 / 4000
Your suggestion