summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-05-10 19:31:27 +0200
committer Willy Sudiarto Raharjo2022-05-14 14:27:47 +0200
commit1188b5f9c4aba226ed58283bf8f8848d77b75482 (patch)
tree1c9b21cd625be9988e5e9392e5b7c28290e4f670
parent3822b9d63d0b89fce6facf36b334f6197cb9cfe8 (diff)
downloadslackbuilds-1188b5f9c4aba226ed58283bf8f8848d77b75482.tar.gz
libraries/libpst: New download/homepage URLs.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libpst/libpst.SlackBuild15
-rw-r--r--libraries/libpst/libpst.info4
2 files changed, 11 insertions, 8 deletions
diff --git a/libraries/libpst/libpst.SlackBuild b/libraries/libpst/libpst.SlackBuild
index 52c29ccd51..f02b91fcd1 100644
--- a/libraries/libpst/libpst.SlackBuild
+++ b/libraries/libpst/libpst.SlackBuild
@@ -23,11 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Note to SBo admins: Please don't remove this because nothing depends
-# on it. It contains useful tools all by itself (it isn't just a
-# shared library). Take pity on those who have to deal with Microsoft
-# products for a living...
-
+# 20220510 bkw: old website went 404, project moved to github. thanks to
+# Ozan Türkyılmaz for reporting this!
# 20211019 bkw:
# - upgrade to 0.6.76
# - build both python 2 and 3 modules
@@ -86,11 +83,17 @@ fi
set -e
+# 20220510 bkw: the github release URL has a ton of cloud-ey CGI
+# parameters. wget (with or without content-disposition) saves it
+# with the right filename, but be paranoid about it anyway:
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
+[ -e $TARBALL ] || TARBALL="$( /bin/ls -1 $TARBALL* | head -1 )"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $TARBALL
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
diff --git a/libraries/libpst/libpst.info b/libraries/libpst/libpst.info
index 02848d8b14..aa4934f815 100644
--- a/libraries/libpst/libpst.info
+++ b/libraries/libpst/libpst.info
@@ -1,7 +1,7 @@
PRGNAM="libpst"
VERSION="0.6.76"
-HOMEPAGE="https://www.five-ten-sg.com/libpst/"
-DOWNLOAD="https://www.five-ten-sg.com/libpst/packages/libpst-0.6.76.tar.gz"
+HOMEPAGE="https://github.com/pst-format/libpst/"
+DOWNLOAD="https://github.com/pst-format/libpst/releases/download/libpst-0.6.76/libpst-0.6.76.tar.gz"
MD5SUM="e821b94e8d7790ee314059f751182ebf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""