From a3f68eac9ee59c20844d2eda333b53fb8df3bd7f Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Tue, 4 Jul 2023 21:16:48 +0900 Subject: [PATCH] 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 Signed-off-by: Willy Sudiarto Raharjo --- libraries/microsoft-gsl/microsoft-gsl.SlackBuild | 4 ++-- libraries/microsoft-gsl/microsoft-gsl.info | 2 +- 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=""