summaryrefslogtreecommitdiffstats
path: root/network/discord
diff options
context:
space:
mode:
Diffstat (limited to 'network/discord')
-rw-r--r--network/discord/README6
-rw-r--r--network/discord/discord.SlackBuild12
-rw-r--r--network/discord/discord.info6
3 files changed, 14 insertions, 10 deletions
diff --git a/network/discord/README b/network/discord/README
index 9885858f9c..a925a39705 100644
--- a/network/discord/README
+++ b/network/discord/README
@@ -5,3 +5,9 @@ works on both your desktop and phone. Stop paying for TeamSpeak
servers and hassling with Skype. Simplify your life.
Discord is only available as a 64bit program. 32bit is unsupported.
+
+If you'd like Discord to continue working after an upstream update
+is released, but is not yet available on SBo, add the following to
+your user's ~/.config/discord/settings.json file:
+
+"SKIP_HOST_UPDATE": true
diff --git a/network/discord/discord.SlackBuild b/network/discord/discord.SlackBuild
index 4fa5bdccfc..3c83566361 100644
--- a/network/discord/discord.SlackBuild
+++ b/network/discord/discord.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for discord
#
-# Copyright 2016-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2016-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=discord
-VERSION=${VERSION:-0.0.18}
+VERSION=${VERSION:-0.0.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,12 +49,10 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
DEBARCH="i386"
- LIBDIRSUFFIX=""
echo "This package is currently only available for 64bit."
exit 1
elif [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
- LIBDIRSUFFIX="64"
else
echo "Package for $(uname -m) architecture is not available."
exit 1
@@ -87,6 +82,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Don't need these:
rm -rf $PKG/usr/share/doc $PKG/usr/share/lintian
+# Correct permissions error found using sbopkglint
+chmod +x $PKG/usr/share/discord/lib*.so*
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/network/discord/discord.info b/network/discord/discord.info
index c440d13755..307eda93e9 100644
--- a/network/discord/discord.info
+++ b/network/discord/discord.info
@@ -1,10 +1,10 @@
PRGNAM="discord"
-VERSION="0.0.18"
+VERSION="0.0.51"
HOMEPAGE="https://discordapp.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://dl.discordapp.net/apps/linux/0.0.18/discord-0.0.18.deb"
-MD5SUM_x86_64="53838a0b5a4e51363bb6227c806f076b"
+DOWNLOAD_x86_64="https://dl.discordapp.net/apps/linux/0.0.51/discord-0.0.51.deb"
+MD5SUM_x86_64="71e292afdc824b883b56f3b42f3c0463"
REQUIRES=""
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"