electron44-castlab-bin

LOW
maintainer zxp19821005 0 votes scanned 2026-09-07 03:13:17.703764
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: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=electron44-castlab-bin
3pkgver='44.1.0+wvcus'
4pkgrel=1
5pkgdesc="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"
6arch=('x86_64')
7url="https://github.com/castlabs/electron-releases"
8license=('MIT')
9provides=("${pkgname%-bin}=${pkgver}")
10conflicts=("${pkgname%-bin}")
11depends=(
12 'alsa-lib'
13 'gtk3'
14 'nss'
15)
16optdepends=(
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)
24options=('!strip')
25noextract=("${pkgname%-bin}-${pkgver}.zip")
26source=(
27 "${pkgname%-bin}-${pkgver}.zip::${url}/releases/download/v${pkgver}/electron-v${pkgver}-linux-x64.zip"
28 "${pkgname%-bin}.sh"
29)
30sha256sums=('a719a9cc77924edfa50348b9fdb3d5cef2e5afa44317108ec1c3cb94c58f9085'
31 'ac1e26684ffbfc7ac0993c55b9299003f6b9efea25b755b1d260bea4db440157')
32prepare() {
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}
38package() {
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)SeverityRules
2026-09-07 03:13:17 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