purelive-bin

LOW
maintainer cynic0226 0 votes scanned 2026-09-02 11:50:42.784749
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

1pkgname=purelive-bin
2pkgver=3.0.9
3_buildnum=4097
4pkgrel=1
5pkgdesc="纯粹直播(Pure Live)基于 Flutter 的开源多平台直播聚合播放器"
6arch=('x86_64')
7url="https://github.com/liuchuancong/pure_live"
8license=('AGPL-3.0-or-later')
9depends=(
10 'gtk3' 'glib2' 'pango' 'cairo' 'gdk-pixbuf2'
11 'libepoxy' 'libglvnd' 'alsa-lib' 'libpulse'
12 'libayatana-appindicator' 'libayatana-indicator' 'libdbusmenu-glib'
13 'libxkbcommon' 'libva' 'libvdpau' 'libxss'
14 'libxv' 'mesa' 'wayland'
15 'libxrandr' 'libxcb' 'freetype2' 'ayatana-ido'
16 'libx11' 'libdrm' 'harfbuzz' 'libxext' 'xz' 'lcms2'
17 'gcc-libs' 'at-spi2-core' 'fribidi' 'gnutls' 'libxfixes'
18 'glibc' 'libunwind' 'fontconfig' 'zlib' 'libarchive'
19)
20optdepends=(
21 'mpv: external player support'
22 'java-runtime: for dart JNI plugin (libdartjni.so)'
23)
24provides=("purelive=${pkgver}")
25conflicts=("purelive")
26options=('!strip' '!debug')
27source_x86_64=(
28 "${pkgname}-${pkgver}.tar.gz::https://github.com/liuchuancong/pure_live/releases/download/v${pkgver}/PureLive-${pkgver}-${_buildnum}-linux-x64.tar.gz"
29)
30sha256sums_x86_64=(
31 '9b04f579b66cf4dd0395993a974f22554b70d6c7b3c57913071357eebc6a11e3'
32)
33
34package() {
35 # 安装主程序到 /opt
36 install -d "${pkgdir}/opt/purelive"
37 cp -a "${srcdir}/pure_live" "${srcdir}/data" "${srcdir}/lib" "${pkgdir}/opt/purelive/"
38 chmod 755 "${pkgdir}/opt/purelive/pure_live"
39
40 # 清除不安全的 RUNPATH
41 for so in "${pkgdir}/opt/purelive/lib/"*.so; do
42 if command -v patchelf >/dev/null 2>&1; then
43 patchelf --remove-rpath "$so" 2>/dev/null || true
44 fi
45 done
46
47 # /usr/bin 启动脚本
48 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/purelive" <<'EOF'
49#!/bin/sh
50exec /opt/purelive/pure_live "$@"
51EOF
52
53 # Desktop 入口
54 install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/purelive.desktop" <<EOF
55[Desktop Entry]
56Name=Pure Live
57Name[zh_CN]=纯粹直播
58Comment=A third-party live stream aggregator
59Comment[zh_CN]=第三方多平台直播聚合播放器
60Exec=purelive %U
61Icon=purelive
62Terminal=false
63Type=Application
64Categories=AudioVideo;Network;
65EOF
66
67 # 从解压的包内安装图标
68 install -Dm644 "${srcdir}/pure_live/data/flutter_assets/assets/icons/icon.png" \
69 "${pkgdir}/usr/share/pixmaps/purelive.png"
70
71 # 安装许可证
72 install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" <<'EOF'
73 GNU AFFERO GENERAL PUBLIC LICENSE
74 Version 3, 19 November 2007
75...
76EOF
77}
78

Scan history

Scanned at (UTC)SeverityRules
2026-09-02 11:50:42 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