summaryrefslogtreecommitdiffstats
path: root/graphics/xbmbrowser
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-02-25 15:00:44 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:46 +0700
commitd0b89d08b427025a7a03eca3c3f6f5f0fcb1d5de (patch)
tree2f21741441b444bb61d76bd86f7a6cf148e2bfee /graphics/xbmbrowser
parentb2337302dbb39eb96f8d4f4b11b81cfe391fc391 (diff)
downloadslackbuilds-d0b89d08b427025a7a03eca3c3f6f5f0fcb1d5de.tar.gz
slackbuilds-d0b89d08b427025a7a03eca3c3f6f5f0fcb1d5de.tar.xz
graphics/xbmbrowser: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/xbmbrowser')
-rw-r--r--graphics/xbmbrowser/xbmbrowser.SlackBuild13
-rw-r--r--graphics/xbmbrowser/xbmbrowser.info2
2 files changed, 6 insertions, 9 deletions
diff --git a/graphics/xbmbrowser/xbmbrowser.SlackBuild b/graphics/xbmbrowser/xbmbrowser.SlackBuild
index 9c931ef70e..043fdf4f47 100644
--- a/graphics/xbmbrowser/xbmbrowser.SlackBuild
+++ b/graphics/xbmbrowser/xbmbrowser.SlackBuild
@@ -31,15 +31,12 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
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
@@ -51,8 +48,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="Changes OtherUses README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,9 +73,9 @@ cd ${PRGNAM}$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
export CFLAGS=$SLKCFLAGS
export LDFLAGS=-L/usr/lib${LIBDIRSUFFIX}
diff --git a/graphics/xbmbrowser/xbmbrowser.info b/graphics/xbmbrowser/xbmbrowser.info
index 41bcd58d88..d681787b3f 100644
--- a/graphics/xbmbrowser/xbmbrowser.info
+++ b/graphics/xbmbrowser/xbmbrowser.info
@@ -1,7 +1,7 @@
PRGNAM="xbmbrowser"
VERSION="5.1b"
HOMEPAGE="http://www.ict.griffith.edu.au/anthony/software/"
-DOWNLOAD="http://www.ict.griffith.edu.au/anthony/software/xbmbrowser5.1b.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/xbmbrowser5.1b.tar.gz"
MD5SUM="cbe0d9de41593b8f638f956035bc7fa8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""