aboutsummaryrefslogtreecommitdiff
path: root/libraries/physfs
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-03 00:36:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:41 +0700
commit3de2cb4e2cdfc3bddf40f93f8f61abb6bd866689 (patch)
tree32a319ade7c3e3b7f1a38c2b8211c05e1b592fd5 /libraries/physfs
parent62480d5c0a32ae0328362bf8982cfd7bb9dae0ca (diff)
libraries/physfs: Fix github URL.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/physfs')
-rw-r--r--libraries/physfs/physfs.SlackBuild6
-rw-r--r--libraries/physfs/physfs.info2
2 files changed, 6 insertions, 2 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 3c0c2fb489d53..13b100f75f712 100644
--- a/libraries/physfs/physfs.SlackBuild
+++ b/libraries/physfs/physfs.SlackBuild
@@ -24,6 +24,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230103 bkw: modified by SlackBuilds.org: use correct github URL
+# so download file is named consistently, regardless of whether it was
+# downloaded with or without content-disposition enabled.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=physfs
@@ -69,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/release-$VERSION.tar.?z
+tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
diff --git a/libraries/physfs/physfs.info b/libraries/physfs/physfs.info
index 63e9587c07126..41cd05a09050e 100644
--- a/libraries/physfs/physfs.info
+++ b/libraries/physfs/physfs.info
@@ -1,7 +1,7 @@
PRGNAM="physfs"
VERSION="3.2.0"
HOMEPAGE="https://icculus.org/physfs/"
-DOWNLOAD="https://github.com/icculus/physfs/archive/refs/tags/release-3.2.0.tar.gz"
+DOWNLOAD="https://github.com/icculus/physfs/archive/release-3.2.0/physfs-release-3.2.0.tar.gz"
MD5SUM="df43675566d86f795f0fe179087b231b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""