From e68bf40d6346399906a43f2f27e1f97c40e59c03 Mon Sep 17 00:00:00 2001 From: Techno263 Date: Mon, 18 May 2026 19:12:37 -0400 Subject: [PATCH] discord: fix to find updater_bootstrap --- srcpkgs/discord/patches/discord.patch | 7 +++++++ srcpkgs/discord/template | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/discord/patches/discord.patch diff --git a/srcpkgs/discord/patches/discord.patch b/srcpkgs/discord/patches/discord.patch new file mode 100644 index 00000000000000..b749dc70d5c2f3 --- /dev/null +++ b/srcpkgs/discord/patches/discord.patch @@ -0,0 +1,7 @@ +*** a/discord +--- a/discord +*************** +*** 31 **** +! bootstrap=`dirname -- "$0"`/updater_bootstrap +--- 31 ---- +! bootstrap=`dirname -- "$(realpath "$0")"`/updater_bootstrap diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template index d7a420354a7ae6..4b66e07185f5dc 100644 --- a/srcpkgs/discord/template +++ b/srcpkgs/discord/template @@ -1,7 +1,7 @@ # Template file for 'discord' pkgname=discord version=1.0.138 -revision=1 +revision=2 archs="x86_64" depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic xdg-utils webrtc-audio-processing libXScrnSaver" @@ -33,7 +33,7 @@ do_install() { vcopy "${item}" "${package_location}" done vmkdir usr/bin - ln -sfr $DESTDIR/${package_location}/Discord $DESTDIR/usr/bin/Discord + ln -sfr $DESTDIR/${package_location}/discord $DESTDIR/usr/bin/discord } post_install() {