summaryrefslogtreecommitdiffstats
path: root/system/memtester/memtester.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/memtester/memtester.SlackBuild')
-rw-r--r--system/memtester/memtester.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/memtester/memtester.SlackBuild b/system/memtester/memtester.SlackBuild
index 3b144c10bc..332035a7fe 100644
--- a/system/memtester/memtester.SlackBuild
+++ b/system/memtester/memtester.SlackBuild
@@ -2,16 +2,19 @@
# Slackware build script for memtester
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# The _1 is the debian patchlevel.
+# 20221228 bkw: update for v4.6.0_1. switched to debian's renamed
+# source, since the upstream site is broken (temporarily?)
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=memtester
-VERSION=${VERSION:-4.5.0_1}
+VERSION=${VERSION:-4.6.0_1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -27,9 +30,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
@@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+tar xvf $CWD/${PRGNAM}_$SRCVER.orig.tar.gz
cd $PRGNAM-$SRCVER
tar xvf $CWD/${PRGNAM}_$SRCVER-$DEBVER.debian.tar.xz
chown -R root:root .