open-orpheus-git

maintainer Misaka19465 · 0 votes · scanned 2026-08-18 13:39:48.676217
LOW
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: Misaka 19465 <19465@misakanet.team>
2
3pkgname=open-orpheus-git
4pkgver=r941.gda75ffd
5pkgrel=1
6pkgdesc="An open-source implementation of Netease Cloud Music's Orpheus browser host."
7arch=('x86_64')
8url="https://github.com/YUCLing/open-orpheus"
9license=('MIT')
10_srcname=open-orpheus
11provides=('open-orpheus')
12conflicts=('open-orpheus')
13depends=(
14 'alsa-lib'
15 'at-spi2-core'
16 'gtk3'
17 'hicolor-icon-theme'
18 'libdrm'
19 'libnotify'
20 'libxcb'
21 'mesa'
22 'nss'
23 'xdg-utils'
24)
25optdepends=('kde-cli-tools: enable trash integration')
26makedepends=(
27 'git'
28 'pnpm'
29 'python'
30 'rust'
31 'rust-wasm'
32 'wasm-bindgen'
33)
34source=(
35 "${_srcname}::git+https://github.com/YUCLing/open-orpheus.git#branch=main"
36 "${_srcname}.desktop"
37 "${_srcname}.sh"
38)
39sha256sums=(
40 'SKIP'
41 'b707d4e2108965d8821d334e897f5ea11d3e0e3ba9e05bf3617139f52ac40df8'
42 '728c0ebb644d19ad2679689f2df4d1b11e8c89a22ee1606b0789ce78aca4bd18'
43)
44
45# Derives an AUR-compatible version from the latest main-branch commit.
46pkgver() {
47 cd "${_srcname}"
48 printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
49}
50
51# Installs the lockfile-pinned JavaScript dependencies required for packaging.
52prepare() {
53 cd "${_srcname}"
54 pnpm install --frozen-lockfile
55}
56
57# Compiles native modules and produces the Linux Electron application bundle.
58build() {
59 cd "${_srcname}"
60 pnpm build:modules
61 pnpm package
62}
63
64# Installs the bundled application and its desktop integration in standard paths.
65package() {
66 local appdir="${srcdir}/${_srcname}/out/${_srcname}-linux-x64"
67
68 install -d "${pkgdir}/usr/lib/${_srcname}"
69 cp -a "${appdir}/." "${pkgdir}/usr/lib/${_srcname}/"
70 # Electron Forge can retain a restrictive build-directory mode; installed payloads must be readable and traversable by every user.
71 chmod -R a+rX "${pkgdir}/usr/lib/${_srcname}"
72 install -Dm755 "${srcdir}/${_srcname}.sh" "${pkgdir}/usr/bin/${_srcname}"
73 install -Dm644 "${srcdir}/${_srcname}.desktop" \
74 "${pkgdir}/usr/share/applications/${_srcname}.desktop"
75 install -Dm644 "${_srcname}/assets/icon_512.png" \
76 "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_srcname}.png"
77 install -Dm644 "${_srcname}/LICENSE" \
78 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
79}
80

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 13:39:48 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