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=""