diff options
Diffstat (limited to 'libraries/libpst/libpst.SlackBuild')
-rw-r--r-- | libraries/libpst/libpst.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libraries/libpst/libpst.SlackBuild b/libraries/libpst/libpst.SlackBuild index 52c29ccd51bcd..f02b91fcd1ca6 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 \ |