aboutsummaryrefslogtreecommitdiff
path: root/libraries/physfs
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-12-22 23:08:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-22 23:08:55 +0700
commitbaf13864369c6528d9e15d55e74a01c408f1468e (patch)
tree4ee0270963173ca0cd1207ddd95bb3b026e422e5 /libraries/physfs
parentfb0938fca1b827e8a5806d0e268770041397a562 (diff)
libraries/physfs: Updated for version 3.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/physfs')
-rw-r--r--libraries/physfs/physfs.SlackBuild13
-rw-r--r--libraries/physfs/physfs.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 4ed762f7e582..3c0c2fb489d5 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
@@ -27,7 +27,7 @@
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 +40,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 +69,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/release-$VERSION.tar.?z
+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 +96,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 7db73967f457..63e9587c0712 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/refs/tags/release-3.2.0.tar.gz"
+MD5SUM="df43675566d86f795f0fe179087b231b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""