open-orpheus-git
The package builds from a publicly accessible Git repository of the project, uses frozen JavaScript dependencies via pnpm, and installs Rust/WASM tooling only for AArch64 where system packages are unavailable; the variable-named cargo install targets a version pinned from the project's own Cargo.toml, posing low risk.
Triggered rules
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it LOW (confidence 95%): The package builds from a publicly accessible Git repository of the project, uses frozen JavaScript dependencies via pnpm, and installs Rust/WASM tooling only for AArch64 where system packages are unavailable; the variable-named cargo install targets a version pinned from the project's own Cargo.toml, posing low risk.
-
PKGBUILD:67
cargo install --locked "wasm-bindgen-cli@${_wasm_bindgen_version}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Misaka 19465 <19465@misakanet.team>
pkgname=open-orpheus-git
pkgver=r974.gb4508e9
pkgrel=2
pkgdesc="An open-source implementation of Netease Cloud Music's Orpheus browser host."
arch=('x86_64' 'aarch64')
url="https://github.com/YUCLing/open-orpheus"
license=('MIT')
_srcname=open-orpheus
provides=('open-orpheus')
conflicts=('open-orpheus')
depends=(
'alsa-lib'
'at-spi2-core'
'gtk3'
'hicolor-icon-theme'
'libdrm'
'libnotify'
'libxcb'
'mesa'
'nss'
'xdg-utils'
)
makedepends=(
'git'
'pnpm'
'python'
'zig'
)
makedepends_x86_64=(
'rust'
'rust-wasm'
'wasm-bindgen'
)
makedepends_aarch64=(
'cargo-zigbuild'
'rustup'
)
source=(
"${_srcname}::git+https://github.com/YUCLing/open-orpheus.git#branch=main"
"${_srcname}.desktop"
"${_srcname}.sh"
)
sha256sums=(
'SKIP'
'56dd949cd671722ae4fbdf71ecd45c1ddafae261068843dc04891735c93bd97a'
'728c0ebb644d19ad2679689f2df4d1b11e8c89a22ee1606b0789ce78aca4bd18'
)
# Derives an AUR-compatible version from the latest main-branch commit.
pkgver() {
cd "${_srcname}"
printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
# Installs the lockfile-pinned JavaScript dependencies required for packaging.
prepare() {
cd "${_srcname}"
pnpm install --frozen-lockfile
# Arch Linux ARM packages neither the wasm32-unknown-unknown target nor the
# wasm-bindgen CLI, so provision both from the rustup toolchain, as upstream CI does.
if [[ ${CARCH} == aarch64 ]]; then
rustup target add wasm32-unknown-unknown
local _wasm_bindgen_version
_wasm_bindgen_version=$(awk '/^wasm-bindgen =/ { gsub(/"/, "", $3); print $3; exit }' Cargo.toml)
cargo install --locked "wasm-bindgen-cli@${_wasm_bindgen_version}"
fi
}
# Compiles native modules and produces the Linux Electron application bundle.
build() {
cd "${_srcname}"
pnpm build:modules
pnpm package
}
# Installs the bundled application and its desktop integration in standard paths.
package() {
# Electron Forge names the packaged bundle after the build host's architecture.
local electron_arch
case "${CARCH}" in
x86_64) electron_arch=x64 ;;
aarch64) electron_arch=arm64 ;;
esac
local appdir="${srcdir}/${_srcname}/out/${_srcname}-linux-${electron_arch}"
install -d "${pkgdir}/usr/lib/${_srcname}"
cp -a "${appdir}/." "${pkgdir}/usr/lib/${_srcname}/"
# Electron Forge can retain a restrictive build-directory mode; installed payloads must be readable and traversable by every user.
chmod -R a+rX "${pkgdir}/usr/lib/${_srcname}"
install -Dm755 "${srcdir}/${_srcname}.sh" "${pkgdir}/usr/bin/${_srcname}"
install -Dm644 "${srcdir}/${_srcname}.desktop" \
"${pkgdir}/usr/share/applications/${_srcname}.desktop"
install -Dm644 "${_srcname}/assets/icon_512.png" \
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_srcname}.png"
install -Dm644 "${_srcname}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-11 15:22+++ PKGBUILD @ 2026-10-17 00:21@@ -2,9 +2,9 @@ pkgname=open-orpheus-git pkgver=r974.gb4508e9-pkgrel=1+pkgrel=2 pkgdesc="An open-source implementation of Netease Cloud Music's Orpheus browser host."-arch=('x86_64')+arch=('x86_64' 'aarch64') url="https://github.com/YUCLing/open-orpheus" license=('MIT') _srcname=open-orpheus@@ -26,9 +26,16 @@ 'git' 'pnpm' 'python'+ 'zig'+)+makedepends_x86_64=( 'rust' 'rust-wasm' 'wasm-bindgen'+)+makedepends_aarch64=(+ 'cargo-zigbuild'+ 'rustup' ) source=( "${_srcname}::git+https://github.com/YUCLing/open-orpheus.git#branch=main"@@ -51,6 +58,14 @@ prepare() { cd "${_srcname}" pnpm install --frozen-lockfile+ # Arch Linux ARM packages neither the wasm32-unknown-unknown target nor the+ # wasm-bindgen CLI, so provision both from the rustup toolchain, as upstream CI does.+ if [[ ${CARCH} == aarch64 ]]; then+ rustup target add wasm32-unknown-unknown+ local _wasm_bindgen_version+ _wasm_bindgen_version=$(awk '/^wasm-bindgen =/ { gsub(/"/, "", $3); print $3; exit }' Cargo.toml)+ cargo install --locked "wasm-bindgen-cli@${_wasm_bindgen_version}"+ fi } # Compiles native modules and produces the Linux Electron application bundle.@@ -62,7 +77,13 @@ # Installs the bundled application and its desktop integration in standard paths. package() {- local appdir="${srcdir}/${_srcname}/out/${_srcname}-linux-x64"+ # Electron Forge names the packaged bundle after the build host's architecture.+ local electron_arch+ case "${CARCH}" in+ x86_64) electron_arch=x64 ;;+ aarch64) electron_arch=arm64 ;;+ esac+ local appdir="${srcdir}/${_srcname}/out/${_srcname}-linux-${electron_arch}" install -d "${pkgdir}/usr/lib/${_srcname}" cp -a "${appdir}/." "${pkgdir}/usr/lib/${_srcname}/"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 00:21:55 | Low | 1 |
| 2026-10-16 00:12:47 | Low | 1 |
| 2026-10-15 00:28:05 | Low | 1 |
| 2026-10-14 00:06:47 | Low | 1 |
| 2026-10-13 00:23:45 | Low | 1 |
| 2026-10-12 00:18:51 | Low | 1 |
| 2026-10-11 15:10:51 | Low | 1 |
| 2026-09-11 15:22:58 | Clean | 0 |
| 2026-08-19 00:15:45 | Clean | 2 |
| 2026-08-18 13:39:48 | Low | 1 |