aboutsummaryrefslogtreecommitdiff
path: root/libraries/libpst/libpst.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-05-10 13:31:27 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-14 19:27:47 +0700
commit1188b5f9c4aba226ed58283bf8f8848d77b75482 (patch)
tree1c9b21cd625be9988e5e9392e5b7c28290e4f670 /libraries/libpst/libpst.SlackBuild
parent3822b9d63d0b89fce6facf36b334f6197cb9cfe8 (diff)
libraries/libpst: New download/homepage URLs.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libpst/libpst.SlackBuild')
-rw-r--r--libraries/libpst/libpst.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/libraries/libpst/libpst.SlackBuild b/libraries/libpst/libpst.SlackBuild
index 52c29ccd51bc..f02b91fcd1ca 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 \