Package Details: siyuan 3.6.5-1

Git Clone URL: https://aur.archlinux.org/siyuan.git (read-only, click to copy)
Package Base: siyuan
Description: A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.(Use system-wide electron)
Upstream URL: https://b3log.org/siyuan
Keywords: anki chatgpt electron evernote knowledge-base local-first markdown note-taking notebook notes-app notion obsidian ocr openai pdf pkm s3 self-hosted webdav
Licenses: AGPL-3.0-only
Conflicts: siyuan, siyuan-note
Provides: siyuan
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 2
Popularity: 0.44
First Submitted: 2024-04-29 09:16 (UTC)
Last Updated: 2026-04-23 05:35 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

zxp19821005 commented on 2025-09-01 04:09 (UTC)

@yuyichao Thanks for your feedback , fixed it.

yuyichao commented on 2025-08-31 00:05 (UTC)

The kernel path on aarch64 should be kernel-linux-arm64 instead of kernel-linux. https://github.com/siyuan-note/siyuan/blob/2570a971a2c7ba61246adcb77026062a7bb1c652/app/electron-builder-linux-arm64.yml#L30

Could you please update the PKGBUILD to use the correct output path? Thx. The following patch should do it.

diff --git a/PKGBUILD b/PKGBUILD
index b2d6be8010f..1713d8afacf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -98,17 +98,19 @@ build() {
     export GOOS=linux
     export GOCACHE="${srcdir}/go-build"
     export GOMODCACHE="${srcdir}/go/pkg/mod"
-    go build --tags fts5 -o "../app/kernel-linux/SiYuan-Kernel" -v -ldflags "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"
-    cd "${srcdir}/${pkgname}-${pkgver}/app"
-    local electronDist="/usr/lib/electron${_electronversion}"
     case "${CARCH}" in
         aarch64)
             _CFG_FILE=electron-builder-linux-arm64.yml
+            _KERNEL_DIR=kernel-linux-arm64
             ;;
         x86_64)
             _CFG_FILE=electron-builder-linux.yml
+            _KERNEL_DIR=kernel-linux
             ;;
     esac
+    go build --tags fts5 -o "../app/${_KERNEL_DIR}/SiYuan-Kernel" -v -ldflags "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"
+    cd "${srcdir}/${pkgname}-${pkgver}/app"
+    local electronDist="/usr/lib/electron${_electronversion}"
     NODE_ENV=production pnpm -c exec "electron-builder --linux dir -c.electronDist=${electronDist} --config=${_CFG_FILE} "
 }
 package() {