diff options
Diffstat (limited to 'office/pdfstudio')
-rw-r--r-- | office/pdfstudio/README | 6 | ||||
-rw-r--r-- | office/pdfstudio/pdfstudio.SlackBuild | 21 | ||||
-rw-r--r-- | office/pdfstudio/pdfstudio.info | 16 |
3 files changed, 23 insertions, 20 deletions
diff --git a/office/pdfstudio/README b/office/pdfstudio/README index 23ae686cd2..f3e5937d08 100644 --- a/office/pdfstudio/README +++ b/office/pdfstudio/README @@ -23,7 +23,7 @@ Key features of PDF Studio: * Supports the new PDF 2.0 standards * Interactive Form Designer * OCR (Text Recognition) - * Inline text content editing with reflow + * Content Editing (Text and Images) * Redact & Sanitize PDFs * Compare PDFs * Optimize PDFs @@ -32,6 +32,7 @@ Key features of PDF Studio: * Batch Process Multiple PDFs * Tag PDFs for Accessibility (PDF/UA) * PDF/A Validation / Conversion + * Advanced Imposition & Printer By default PDF Studio uses the system-wide Java. @@ -40,6 +41,3 @@ OWNJAVA=yes ./pdfstudio.SlackBuild a version of Java that comes packaged with PDF Studio will be installed under the PDF Studio installation directory, this Java will not be used by other programs. - -NOTE: The license of the sources don't permit free distribution, so sources -must be coming from upstream project. diff --git a/office/pdfstudio/pdfstudio.SlackBuild b/office/pdfstudio/pdfstudio.SlackBuild index c6af8345a9..6f17909e1b 100644 --- a/office/pdfstudio/pdfstudio.SlackBuild +++ b/office/pdfstudio/pdfstudio.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for pdfstudio -# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia +# Copyright 2017-2021, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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=pdfstudio -VERSION=${VERSION:-2019.2.0} +VERSION=${VERSION:-2020.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} YEAR=${VERSION:0:4} if [ -z "$ARCH" ]; then @@ -43,7 +46,14 @@ case "$ARCH" in exit 1 ;; esac -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} @@ -69,7 +79,6 @@ MimeType=application/pdf;" \ > usr/share/applications/${PRGNAM}${YEAR}.desktop mkdir -p usr/doc/$PRGNAM-$VERSION -cp $CWD/pdfstudio${YEAR}_userguide.pdf usr/doc/$PRGNAM-$VERSION/ if [ "${OWNJAVA:-no}" = "yes" ]; then cd opt/pdfstudio${YEAR}/jre @@ -105,4 +114,4 @@ mkdir -p install cat $CWD/slack-desc > install/slack-desc cat $CWD/doinst.sh > install/doinst.sh -/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/pdfstudio/pdfstudio.info b/office/pdfstudio/pdfstudio.info index f4dcb34f89..8fdd59f0a2 100644 --- a/office/pdfstudio/pdfstudio.info +++ b/office/pdfstudio/pdfstudio.info @@ -1,14 +1,10 @@ PRGNAM="pdfstudio" -VERSION="2019.2.0" +VERSION="2020.4.0" HOMEPAGE="https://www.qoppa.com/pdfstudio/" -DOWNLOAD="https://download.qoppa.com/pdfstudio/v2019/PDFStudio_v2019_2_0_linux.deb \ - https://www.qoppa.com/files/pdfstudio/guide/pdfstudio2019_userguide.pdf" -MD5SUM="d9af0d4e2b81a2d7d1efb1cbc800af1c \ - 00449a6878d69dfea660ff210ecfe119" -DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudio/v2019/PDFStudio_v2019_2_0_linux64.deb \ - https://www.qoppa.com/files/pdfstudio/guide/pdfstudio2019_userguide.pdf" -MD5SUM_x86_64="9eccfba29a8025980c72b650539acc78 \ - 00449a6878d69dfea660ff210ecfe119" -REQUIRES="jdk %README%" +DOWNLOAD="https://download.qoppa.com/pdfstudio/v2020/PDFStudio_v2020_4_0_linux.deb" +MD5SUM="54b767608e88afdeeeb7292c278624c2" +DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudio/v2020/PDFStudio_v2020_4_0_linux64.deb" +MD5SUM_x86_64="d4b8f062f90d191a7fca0b003101e772" +REQUIRES="zulu-openjdk8" MAINTAINER="Alexander Verbovetsky" EMAIL="alik@ejik.org" |