uppkg: discord 0.0.26, using electron22

This commit is contained in:
Zoddo 2023-03-31 18:53:17 +02:00
parent 6e730ce462
commit 980045acf5
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 43E8D68722C7D376
2 changed files with 7 additions and 8 deletions

View file

@ -1,23 +1,23 @@
pkgbase = discord_arch_electron pkgbase = discord_arch_electron
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
pkgver = 0.0.25 pkgver = 0.0.26
pkgrel = 1 pkgrel = 1
url = https://discord.com url = https://discord.com
arch = x86_64 arch = x86_64
license = custom license = custom
makedepends = asar makedepends = asar
depends = electron19 depends = electron
depends = libxss depends = libxss
optdepends = libpulse: Pulseaudio support optdepends = libpulse: Pulseaudio support
optdepends = xdg-utils: Open files optdepends = xdg-utils: Open files
provides = discord provides = discord
conflicts = discord conflicts = discord
options = !strip options = !strip
source = https://dl.discordapp.net/apps/linux/0.0.25/discord-0.0.25.tar.gz source = https://dl.discordapp.net/apps/linux/0.0.26/discord-0.0.26.tar.gz
source = discord-launcher.sh source = discord-launcher.sh
source = LICENSE.html::https://discord.com/terms source = LICENSE.html::https://discord.com/terms
source = OSS-LICENSES.html::https://discord.com/licenses source = OSS-LICENSES.html::https://discord.com/licenses
sha512sums = 21a3e6dff2fd33fe0cd5b1c9c340cbeebc6fd214d9f0be8c05ac9faad2f287d17726bd45bebb4ecebe90533da20f501ad1156ac8097318d7545f78811ebe1224 sha512sums = 65477c2c033f30850a699706a6502ff4f4af8838185716d968d641fdab3033555139b04bf91a111a847aca14113e33ba6248d49ba317fd43cbacb099e974117b
sha512sums = 6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f sha512sums = 6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f
sha512sums = SKIP sha512sums = SKIP
sha512sums = SKIP sha512sums = SKIP

View file

@ -4,9 +4,9 @@
# Contributor: johnnyapol <arch@johnnyapol.me> # Contributor: johnnyapol <arch@johnnyapol.me>
# Based off the discord community repo PKGBUILD by Filipe Laíns (FFY00) <lains@archlinux.org> # Based off the discord community repo PKGBUILD by Filipe Laíns (FFY00) <lains@archlinux.org>
_pkgname=discord _pkgname=discord
_electron=electron19 _electron=electron
pkgname=${_pkgname}_arch_electron pkgname=${_pkgname}_arch_electron
pkgver=0.0.25 pkgver=0.0.26
pkgrel=1 pkgrel=1
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance" pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
arch=('x86_64') arch=('x86_64')
@ -23,7 +23,7 @@ source=("https://dl.discordapp.net/apps/linux/$pkgver/$_pkgname-$pkgver.tar.gz"
'discord-launcher.sh' 'discord-launcher.sh'
'LICENSE.html::https://discord.com/terms' 'LICENSE.html::https://discord.com/terms'
'OSS-LICENSES.html::https://discord.com/licenses') 'OSS-LICENSES.html::https://discord.com/licenses')
sha512sums=('21a3e6dff2fd33fe0cd5b1c9c340cbeebc6fd214d9f0be8c05ac9faad2f287d17726bd45bebb4ecebe90533da20f501ad1156ac8097318d7545f78811ebe1224' sha512sums=('65477c2c033f30850a699706a6502ff4f4af8838185716d968d641fdab3033555139b04bf91a111a847aca14113e33ba6248d49ba317fd43cbacb099e974117b'
'6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f' '6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f'
SKIP SKIP
SKIP) SKIP)
@ -42,7 +42,6 @@ package() {
rm Discord/resources/app.asar rm Discord/resources/app.asar
sed -i "s|process.resourcesPath|'/usr/lib/$_pkgname'|" Discord/resources/app/app_bootstrap/buildInfo.js sed -i "s|process.resourcesPath|'/usr/lib/$_pkgname'|" Discord/resources/app/app_bootstrap/buildInfo.js
sed -i "s|exeDir,|'/usr/share/pixmaps',|" Discord/resources/app/app_bootstrap/autoStart/linux.js sed -i "s|exeDir,|'/usr/share/pixmaps',|" Discord/resources/app/app_bootstrap/autoStart/linux.js
sed -i "s#^module\.paths.*;#module.paths = [(process.env.XDG_CONFIG_HOME || (process.env.HOME + \"/.config\")) + \"/discord/$pkgver/modules\"];#" Discord/resources/app/app_bootstrap/requireNative.js
asar p Discord/resources/app Discord/resources/app.asar --unpack-dir '**' asar p Discord/resources/app Discord/resources/app.asar --unpack-dir '**'
rm -rf Discord/resources/app rm -rf Discord/resources/app