electron44-castlab-bin
LOW
maintainer zxp19821005
0 votes
scanned 2026-09-07 03:13:17.703764
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=electron44-castlab-bin
3
pkgver='44.1.0+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=('a719a9cc77924edfa50348b9fdb3d5cef2e5afa44317108ec1c3cb94c58f9085'
31
'ac1e26684ffbfc7ac0993c55b9299003f6b9efea25b755b1d260bea4db440157')
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-09-07 03:13:17 | Low | 1 |