diff options
Diffstat (limited to 'network/discord/discord.SlackBuild')
-rw-r--r-- | network/discord/discord.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/network/discord/discord.SlackBuild b/network/discord/discord.SlackBuild index 4fa5bdccfc..0ff9abdc45 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.46} 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 |