diff options
author | lsf | 2022-11-05 12:56:02 +0100 |
---|---|---|
committer | lsf | 2022-11-05 12:56:02 +0100 |
commit | f7cc932ab4576f35b675d2591a57ff90b4d974b3 (patch) | |
tree | ed57b4467a928dea8228c102c1fb0a44a8290805 /PKGBUILD | |
parent | 35dc095a5fff28c677fff2cc028f655b1a825c2b (diff) | |
download | aur-f7cc932ab4576f35b675d2591a57ff90b4d974b3.tar.gz |
v2022.10.1; unconstrained electron
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,7 +3,7 @@ # Contributor: Roman Kupriyanov <mr.eshua@gmail.com> pkgname=jitsi-meet-desktop -pkgver=2022.8.1 +pkgver=2022.10.1 pkgrel=1 pkgdesc="Jitsi Meet desktop application" arch=('x86_64' 'aarch64') @@ -15,7 +15,7 @@ replaces=('jitsi-meet-electron') depends=('gtk3' 'libxss' 'nss') -depends=('electron19') +depends=('electron') makedepends=('coreutils' 'git' 'npm' @@ -29,7 +29,7 @@ options=(!strip) source=("${pkgname}_${pkgver}.tar.gz::https://github.com/jitsi/jitsi-meet-electron/archive/v${pkgver}.tar.gz" 'no_targets.patch' 'jitsi-meet-desktop.desktop') -sha256sums=('5f4e961cf73c01455f4e72621bb42bb3e614e5aed5237be3b64082df45fc1fd3' +sha256sums=('9db3bdc9eb54165ed96c3c19361d1c7e92f7bc51937ac45b7d0f6ba95a00af3d' 'ab22749aa1570cc5d6050711011f849ec3f4fa49080231f98957255fa5250e36' '36a30a15613d53b2a01626a5551315c6970889ce3c2688bce71e26c3333081a4') @@ -55,7 +55,7 @@ prepare() { # target when calling electron-builder.. patch -Np1 -i ${srcdir}/no_targets.patch - _electron_dist=/usr/lib/electron19 + _electron_dist=/usr/lib/electron # currently 20 is in the repos, jitsi-meet has introduced 21 already so it should be fine to keep it unconstrained for now. _electron_ver=$(cat ${_electron_dist}/version) sed -r 's#("electron": ").*"#\1'${_electron_ver}'"#' -i package.json sed 's#git+ssh://git@github.com#git+https://github.com#g' -i package-lock.json @@ -71,7 +71,7 @@ build() { _ensure_local_nvm nvm use ${_node_version} - _electron_dist=/usr/lib/electron19 + _electron_dist=/usr/lib/electron _electron_ver=$(cat ${_electron_dist}/version) # npm run build @@ -95,7 +95,7 @@ package() { cat << EOF > "$pkgdir"/usr/bin/$pkgname #!/bin/sh -NODE_ENV=production ELECTRON_IS_DEV=false exec electron19 /opt/$pkgname/app.asar "\$@" +NODE_ENV=production ELECTRON_IS_DEV=false exec electron /opt/$pkgname/app.asar "\$@" EOF chmod +x "$pkgdir"/usr/bin/$pkgname |