aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-11-26 00:04:15 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-26 09:11:48 +0700
commit7c996ce5737018ce68fe17979ab8ac7865e8b366 (patch)
tree0a91ec417ee0e53eb63b06891b33115ac411652b
parent8d3864373af214b72efca3a0d38946fceb75c69d (diff)
network/speedometer: Fix github tarball handling.
https://slackbuilds.org/GITHUB_URLs.txt This avoids having differently named tarballs and src directories. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/speedometer/speedometer.SlackBuild7
-rw-r--r--network/speedometer/speedometer.info2
2 files changed, 4 insertions, 5 deletions
diff --git a/network/speedometer/speedometer.SlackBuild b/network/speedometer/speedometer.SlackBuild
index 09bf16a72be3..2d7397b59b2b 100644
--- a/network/speedometer/speedometer.SlackBuild
+++ b/network/speedometer/speedometer.SlackBuild
@@ -69,10 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-mv $PRGNAM-release-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release-$VERSION
+tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/network/speedometer/speedometer.info b/network/speedometer/speedometer.info
index cbb18d7bda94..bb8a78b6d6e8 100644
--- a/network/speedometer/speedometer.info
+++ b/network/speedometer/speedometer.info
@@ -1,7 +1,7 @@
PRGNAM="speedometer"
VERSION="2.9"
HOMEPAGE="https://excess.org/speedometer/"
-DOWNLOAD="https://github.com/wardi/speedometer/archive/release-2.9/speedometer-2.9.tar.gz"
+DOWNLOAD="https://github.com/wardi/speedometer/archive/release-2.9/speedometer-release-2.9.tar.gz"
MD5SUM="8ed83643533af4fdd7aa867c8369f201"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""