blob: 6d0c3e282105c6f8d541d3c664752cd2b924d2e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Vasya Novikov <vnnn91@yandex.ru> (replace "nnn" with a single "n")
# Note:
# If you want to use the system version of electron, check out jitsi-meet-desktop on AUR.
# This will use the ArchLinux version of electron.
# This will also reduce your installation size and make sure
# you get the latest version of electron when possible.
#
# If you want to use the stand-alone version from npm, this package is the way to go.
# It follows the official guidelines more closely and might be more stable.
#
# If unsure, try the system electron first, and fallback to this package if system won't work.
pkgname=jitsi-meet-electron
pkgver=2.8.6
pkgrel=3
pkgdesc="Jitsi Meet desktop application powered by Electron. Uses npm version of electron"
arch=('any')
url="https://github.com/jitsi/jitsi-meet-electron"
license=('APACHE-2.0')
depends=('npm' 'libx11' 'zlib' 'libpng' 'libxtst')
optdepends=(
'nodejs-webpack: build-time dependency, to avoid re-downloading it'
'nodejs-webpack-cli: build-time dependency, to avoid re-downloading it'
)
source=(
jitsi-meet-electron.desktop
"${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
)
sha256sums=('d4ce7836a838be92d6484813737c424074a7747fd1b7eed9fbc061c4b2cd10cf'
'957654aa5aeca6c201e42a0f8c2c72adbd89adc7546a974f08cc878215f79e8c')
build() {
cd "${pkgname}-${pkgver}"
npm install
npm run dist
}
package() {
cd "${pkgname}-${pkgver}"
mkdir -p -- "$pkgdir"/usr/share/applications
cp -a --dereference -- ../jitsi-meet-electron.desktop "$pkgdir"/usr/share/applications/
mkdir -p -- "$pkgdir"/usr/share
cp -aT -- ./dist/linux-unpacked "$pkgdir"/usr/share/jitsi-meet-electron
mkdir -p -- "$pkgdir"/usr/bin
ln -s -- '../share/jitsi-meet-electron/jitsi-meet.bin' "$pkgdir"/usr/bin/jitsi-meet-electron
install -Dm644 -- resources/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}
|