discord 0.0.16-2: use electron15 while electron16 regression is investigated

This commit is contained in:
John C. Allwein 2022-01-25 16:04:46 -05:00
parent 4ac1f8a44c
commit bf1312ebf8
2 changed files with 5 additions and 5 deletions

View file

@ -1,12 +1,12 @@
pkgbase = discord_arch_electron
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
pkgver = 0.0.16
pkgrel = 1
pkgrel = 2
url = https://discordapp.com
arch = x86_64
license = custom
makedepends = asar
depends = electron
depends = electron15
optdepends = libpulse: Pulseaudio support
optdepends = xdg-utils: Open files
provides = discord

View file

@ -4,14 +4,14 @@
pkgname=discord_arch_electron
_pkgname=discord
pkgver=0.0.16
pkgrel=1
pkgrel=2
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
arch=('x86_64')
provides=('discord')
conflicts=('discord')
url='https://discordapp.com'
license=('custom')
depends=('electron')
depends=('electron15')
makedepends=('asar')
optdepends=('libpulse: Pulseaudio support'
'xdg-utils: Open files')
@ -46,7 +46,7 @@ package() {
# Create starter script for discord
echo "#!/bin/sh" > "$srcdir"/$_pkgname
echo "exec electron /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
echo "exec electron15 /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
install -d "$pkgdir"/usr/{bin,share/{pixmaps,applications}}
install -Dm 755 $_pkgname "$pkgdir"/usr/bin/$_pkgname