summaryrefslogtreecommitdiffstats
path: root/libraries/microsoft-gsl
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2023-07-04 21:16:48 +0900
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:41:48 +0700
commita3f68eac9ee59c20844d2eda333b53fb8df3bd7f (patch)
tree4726f8d44ae875dd54b1af8c7b497e13f08005eb /libraries/microsoft-gsl
parent2cfc291fe79b3e88b8fd358fb2faafcf9c78da9a (diff)
downloadslackbuilds-a3f68eac9ee59c20844d2eda333b53fb8df3bd7f.tar.gz
slackbuilds-a3f68eac9ee59c20844d2eda333b53fb8df3bd7f.tar.xz
libraries/microsoft-gsl: Fix github tarball handling.
https://slackbuilds.org/GITHUB_URLs.txt This avoids having differently named tarballs based on whether the client respects content disposition headers or not. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/microsoft-gsl')
-rw-r--r--libraries/microsoft-gsl/microsoft-gsl.SlackBuild4
-rw-r--r--libraries/microsoft-gsl/microsoft-gsl.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/libraries/microsoft-gsl/microsoft-gsl.SlackBuild b/libraries/microsoft-gsl/microsoft-gsl.SlackBuild
index 5dfc9b1027..ed091acc2c 100644
--- a/libraries/microsoft-gsl/microsoft-gsl.SlackBuild
+++ b/libraries/microsoft-gsl/microsoft-gsl.SlackBuild
@@ -69,8 +69,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf GSL-$VERSION
+tar xvf $CWD/GSL-$VERSION.tar.gz
cd GSL-$VERSION
chown -R root:root .
find -L . \
diff --git a/libraries/microsoft-gsl/microsoft-gsl.info b/libraries/microsoft-gsl/microsoft-gsl.info
index 75a171c2fe..3b479a0d9b 100644
--- a/libraries/microsoft-gsl/microsoft-gsl.info
+++ b/libraries/microsoft-gsl/microsoft-gsl.info
@@ -1,7 +1,7 @@
PRGNAM="microsoft-gsl"
VERSION="4.0.0"
HOMEPAGE="https://github.com/microsoft/GSL"
-DOWNLOAD="https://github.com/microsoft/GSL/archive/v4.0.0/microsoft-gsl-4.0.0.tar.gz"
+DOWNLOAD="https://github.com/microsoft/GSL/archive/v4.0.0/GSL-4.0.0.tar.gz"
MD5SUM="4b1a5f39c5f489d2bdf3bd352548907d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""