diff options
Diffstat (limited to 'office/MasterPDFEditor')
-rw-r--r-- | office/MasterPDFEditor/MasterPDFEditor.SlackBuild | 21 | ||||
-rw-r--r-- | office/MasterPDFEditor/MasterPDFEditor.info | 8 |
2 files changed, 17 insertions, 12 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild index cadcf3e511..a9b164a219 100644 --- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild +++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for MasterPDFEditor -# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=MasterPDFEditor SRCNAM=master-pdf-editor -VERSION=${VERSION:-5.7.20} +VERSION=${VERSION:-5.9.82} MAJVER=${MAJVER:-5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,14 +40,16 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" SOURCEARCH="-qt5.x86_64" else echo "Architecture is not supported." @@ -74,7 +79,7 @@ mkdir -p $PKG/usr/bin ( ln -s /opt/$SRCNAM-$MAJVER/masterpdfeditor${MAJVER} $PKG/usr/bin/ ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv license.txt $PKG/usr/doc/$PRGNAM-$VERSION +mv license_en.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/usr/share/applications/ @@ -85,4 +90,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/office/MasterPDFEditor/MasterPDFEditor.info b/office/MasterPDFEditor/MasterPDFEditor.info index afe8c95b20..45e416b99e 100644 --- a/office/MasterPDFEditor/MasterPDFEditor.info +++ b/office/MasterPDFEditor/MasterPDFEditor.info @@ -1,10 +1,10 @@ PRGNAM="MasterPDFEditor" -VERSION="5.7.20" +VERSION="5.9.82" HOMEPAGE="https://code-industry.net/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://code-industry.net/public/master-pdf-editor-5.7.20-qt5.x86_64.tar.gz" -MD5SUM_x86_64="42829bbbf81b8971d2aa77a61f708def" -REQUIRES="qt5" +DOWNLOAD_x86_64="https://code-industry.net/public/master-pdf-editor-5.9.82-qt5.x86_64.tar.gz" +MD5SUM_x86_64="7697e22a481f4f02d2cb9e98d899c000" +REQUIRES="pkcs11-helper" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |