electron45-castlab-bin
LOW
maintainer zxp19821005
0 votes
scanned 2026-11-05 02:08:18.897367
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: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=electron45-castlab-bin
3
pkgver=45.2.1+wvcus
4
pkgrel=1
5
pkgdesc="Electron for Content Security (ECS) is a fork of Electron created by castLabs to facilitate the use of Google's Widevine Content Decryption Module (CDM) for DRM-enabled playback within Electron"
6
arch=('x86_64')
7
url="https://github.com/castlabs/electron-releases"
8
license=('MIT')
9
provides=("${pkgname%-bin}=${pkgver}")
10
conflicts=("${pkgname%-bin}")
11
depends=(
12
'alsa-lib'
13
'gtk3'
14
'nss'
15
)
16
optdepends=(
17
'kde-cli-tools: file deletion support (kioclient5)'
18
'pipewire: WebRTC desktop sharing under Wayland'
19
'qt6-base: enable Qt6 with --enable-features=AllowQt'
20
'gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland)'
21
'trash-cli: file deletion support (trash-put)'
22
"xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)"
23
)
24
options=('!strip')
25
noextract=("${pkgname%-bin}-${pkgver}.zip")
26
source=(
27
"${pkgname%-bin}-${pkgver}.zip::${url}/releases/download/v${pkgver}/electron-v${pkgver}-linux-x64.zip"
28
"${pkgname%-bin}.sh"
29
)
30
sha256sums=('18953cdab1cdc2499f9b0089f85d069559bf992145008a40aacd0d7714b97960'
31
'993e291d2e80079694c044216527449f2a0ab52a9fb601b688a2a694fd07df19')
32
prepare() {
33
sed -i "s/@ELECTRON@/${pkgname%-bin}/g" "${srcdir}/${pkgname%-bin}.sh"
34
install -Dm755 -d "${srcdir}/${pkgname%-bin}"
35
bsdtar -xf "${pkgname%-bin}-${pkgver}.zip" -C "${srcdir}/${pkgname%-bin}"
36
chmod u+s "${srcdir}/${pkgname%-bin}/chrome-sandbox"
37
}
38
package() {
39
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
40
install -Dm755 -d "${pkgdir}/usr/lib"
41
cp -a "${srcdir}/${pkgname%-bin}" "${pkgdir}/usr/lib"
42
install -Dm644 "${srcdir}/${pkgname%-bin}/LICENSE"* -t "${pkgdir}/usr/share/licenses/${pkgname}"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-05 02:08:18 | Low | 1 |