From aed273fe059d6ddb53c9bce8e8d987457b916c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sun, 2 Apr 2023 01:28:03 +0200 Subject: [PATCH] upgpkg: discord-electron-bin 0.0.26-1 upstream release Discord now works correctly with the latest Electron version --- discord-electron-bin/.SRCINFO | 10 +++++----- discord-electron-bin/PKGBUILD | 8 +++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/discord-electron-bin/.SRCINFO b/discord-electron-bin/.SRCINFO index 348bd12..919b0f7 100644 --- a/discord-electron-bin/.SRCINFO +++ b/discord-electron-bin/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = discord-electron-bin - pkgdesc = Discord using system provided electron (v13) for increased security and performance - pkgver = 0.0.25 + pkgdesc = Discord using system provided electron (v22) for increased security and performance + pkgver = 0.0.26 pkgrel = 1 url = https://discord.com arch = x86_64 @@ -8,13 +8,13 @@ pkgbase = discord-electron-bin makedepends = asar makedepends = curl makedepends = python-html2text - depends = electron13 + depends = electron22 optdepends = libpulse: Pulseaudio support optdepends = xdg-utils: Open files provides = discord conflicts = discord options = !strip - source = https://dl.discordapp.net/apps/linux/0.0.25/discord-0.0.25.tar.gz - sha512sums = 21a3e6dff2fd33fe0cd5b1c9c340cbeebc6fd214d9f0be8c05ac9faad2f287d17726bd45bebb4ecebe90533da20f501ad1156ac8097318d7545f78811ebe1224 + source = https://dl.discordapp.net/apps/linux/0.0.26/discord-0.0.26.tar.gz + sha512sums = 65477c2c033f30850a699706a6502ff4f4af8838185716d968d641fdab3033555139b04bf91a111a847aca14113e33ba6248d49ba317fd43cbacb099e974117b pkgname = discord-electron-bin diff --git a/discord-electron-bin/PKGBUILD b/discord-electron-bin/PKGBUILD index d891d80..c153bda 100644 --- a/discord-electron-bin/PKGBUILD +++ b/discord-electron-bin/PKGBUILD @@ -11,9 +11,8 @@ pkgname=discord-electron-bin _pkgname=discord -_electron=13 -#_electron=19 -pkgver=0.0.25 +_electron=22 +pkgver=0.0.26 pkgrel=1 pkgdesc="Discord using system provided electron (v${_electron}) for increased security and performance" arch=('x86_64') @@ -29,7 +28,7 @@ optdepends=( 'xdg-utils: Open files' ) source=("https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.tar.gz") -sha512sums=('21a3e6dff2fd33fe0cd5b1c9c340cbeebc6fd214d9f0be8c05ac9faad2f287d17726bd45bebb4ecebe90533da20f501ad1156ac8097318d7545f78811ebe1224') +sha512sums=('65477c2c033f30850a699706a6502ff4f4af8838185716d968d641fdab3033555139b04bf91a111a847aca14113e33ba6248d49ba317fd43cbacb099e974117b') _tarname='Discord' @@ -77,7 +76,6 @@ EOF rm $_tarname/resources/app.asar sed -i "s|process.resourcesPath|'/usr/lib/${_pkgname}'|" $_tarname/resources/app/app_bootstrap/buildInfo.js sed -i "s|exeDir,|'/usr/share/pixmaps',|" $_tarname/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 $_tarname/resources/app $_tarname/resources/app.asar --unpack-dir '**' rm -rf $_tarname/resources/app }