summaryrefslogtreecommitdiffstats
path: root/libraries/physfs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/physfs')
-rw-r--r--libraries/physfs/README6
-rw-r--r--libraries/physfs/physfs.SlackBuild17
-rw-r--r--libraries/physfs/physfs.info6
3 files changed, 15 insertions, 14 deletions
diff --git a/libraries/physfs/README b/libraries/physfs/README
index d291b0ad41..62745114c7 100644
--- a/libraries/physfs/README
+++ b/libraries/physfs/README
@@ -1,3 +1,3 @@
-PhysicsFS is a library to provide abstract access to various archives. It is
-intended for use in video games, and the design was somewhat inspired by
-Quake 3's file subsystem.
+PhysicsFS is a library to provide abstract access to various
+archives. It is intended for use in video games, and the design was
+somewhat inspired by Quake 3's file subsystem.
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 4ed762f7e5..13b100f75f 100644
--- a/libraries/physfs/physfs.SlackBuild
+++ b/libraries/physfs/physfs.SlackBuild
@@ -4,7 +4,7 @@
#
# Copyright 2009 - 2013 Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2015 Andrew Strong, Blue Mountains Australia
-# Copyright 2017 - 2019 Johannes Schoepfer, Germany
+# Copyright 2017 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,14 @@
# 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
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +44,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
@@ -72,8 +73,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$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 \
@@ -99,7 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt README.txt docs/CHANGELOG.txt docs/CREDITS.txt docs/Doxyfile \
- docs/INSTALL.txt docs/README-API-documentation.txt docs/TODO.txt \
+ docs/README-API-documentation.txt docs/TODO.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/physfs/physfs.info b/libraries/physfs/physfs.info
index 7db73967f4..41cd05a090 100644
--- a/libraries/physfs/physfs.info
+++ b/libraries/physfs/physfs.info
@@ -1,8 +1,8 @@
PRGNAM="physfs"
-VERSION="3.0.2"
+VERSION="3.2.0"
HOMEPAGE="https://icculus.org/physfs/"
-DOWNLOAD="https://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2"
-MD5SUM="dc751294aaf59d1359bbe34e693d1d87"
+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=""
REQUIRES=""