splayer-next

LOW
maintainer nlsdt 0 votes scanned 2026-09-19 11:30:33.287899
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: nlsdt <nlsdt@archlinuxcn.org>
2
3pkgname=splayer-next
4_pkgname=SPlayer-Next
5pkgver=1.1.0
6pkgrel=1
7pkgdesc="Cross-platform desktop music player with rich lyric support and wide audio format compatibility"
8arch=('x86_64')
9url="https://github.com/SPlayer-Dev/SPlayer-Next"
10license=('AGPL-3.0-only')
11depends=(
12 'alsa-lib'
13 'at-spi2-core'
14 'gtk3'
15 'hicolor-icon-theme'
16 'libnotify'
17 'libpipewire'
18 'libpulse'
19 'libsecret'
20 'libxss'
21 'libxtst'
22 'nss'
23 'xdg-utils'
24)
25makedepends=(
26 'clang'
27 'git'
28 'nodejs'
29 'pkgconf'
30 'pnpm'
31 'python'
32 'rust'
33)
34conflicts=('splayer-next-bin' 'splayer-next-git')
35options=('!lto')
36source=(
37 "${_pkgname}-${pkgver}.tar.gz::https://github.com/SPlayer-Dev/SPlayer-Next/archive/refs/tags/v${pkgver}.tar.gz"
38 '0001-Disable-builtin-updater.patch'
39 'top.imsyy.splayer_next.desktop'
40)
41sha256sums=(
42 '248b814590e45e81856573de8b6b435515d42648c8b9b00a0fe3e0135ca64f00'
43 '72a7a31955318e3d2b6b1ad070f46f5ef5f6862c9fb47a5b6ceacdedbf4f62f9'
44 'f9530b38c0222ce185bb2dfcd9f5c6ece6fdadb3ba7a0eb10a41846be8b7b632'
45)
46
47prepare() {
48 cd "${_pkgname}-${pkgver}"
49
50 patch -Np1 -i "${srcdir}/0001-Disable-builtin-updater.patch"
51 rm -f .npmrc
52}
53
54build() {
55 cd "${_pkgname}-${pkgver}"
56
57 # 保留调试符号
58 export CARGO_PROFILE_RELEASE_STRIP=none
59 export npm_config_manage_package_manager_versions=false
60
61 pnpm install --frozen-lockfile
62 pnpm build:unpack
63}
64
65package() {
66 cd "${_pkgname}-${pkgver}"
67
68 # 安装运行时
69 install -d "${pkgdir}/opt/${_pkgname}"
70 cp -a dist/linux-unpacked/. "${pkgdir}/opt/${_pkgname}/"
71
72 # 设置沙盒权限
73 chmod 755 "${pkgdir}/opt/${_pkgname}/chrome-sandbox"
74
75 # 创建入口链接
76 install -d "${pkgdir}/usr/bin"
77 ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${pkgname}"
78
79 # 安装桌面入口
80 install -Dm644 "${srcdir}/top.imsyy.splayer_next.desktop" \
81 "${pkgdir}/usr/share/applications/top.imsyy.splayer_next.desktop"
82
83 # 安装图标
84 install -Dm644 "public/icons/favicon-512x512.png" \
85 "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png"
86}
87

Scan history

Scanned at (UTC)SeverityRules
2026-09-19 11:30:33 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