summaryrefslogtreecommitdiff
path: root/office/MasterPDFEditor
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-29 12:30:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:15 +0700
commiteb5770463cccc0b05af7f77b30cedca82781852d (patch)
tree4ef8b175d3d5b16456dae5134962a13016a788e9 /office/MasterPDFEditor
parent44eee8436816a1e997ad08625a31c111406924f9 (diff)
downloadslackbuilds-eb5770463cccc0b05af7f77b30cedca82781852d.tar.gz
office/MasterPDFEditor: Updated for version 4.0.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/MasterPDFEditor')
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild15
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.desktop10
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.info12
-rw-r--r--office/MasterPDFEditor/slack-desc2
4 files changed, 25 insertions, 14 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index b94da16ad7..8fbab6d86f 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -24,7 +24,8 @@
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
-VERSION=${VERSION:-3.7.10}
+VERSION=${VERSION:-4.0.10}
+MAJVER=4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +53,7 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- SOURCEARCH="amd64"
+ SOURCEARCH="qt4.amd64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -63,7 +64,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
-rm -rf $SRCNAM-3
+rm -rf $SRCNAM-$MAJVER
tar xvf $CWD/${SRCNAM}-${VERSION}_${SOURCEARCH}.tar.gz
chown -R root:root .
find -L . \
@@ -72,18 +73,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mv $SRCNAM-3 $PKG/opt
-cd $PKG/opt/$SRCNAM-3
+mv $SRCNAM-$MAJVER $PKG/opt
+cd $PKG/opt/$SRCNAM-$MAJVER
mkdir -p $PKG/usr/bin
-( ln -s /opt/$SRCNAM-3/masterpdfeditor3 $PKG/usr/bin/ )
+( ln -s /opt/$SRCNAM-$MAJVER/masterpdfeditor4 $PKG/usr/bin/ )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv license.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications/
-mv $PKG/opt/master-pdf-editor-3/masterpdfeditor3.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/office/MasterPDFEditor/MasterPDFEditor.desktop b/office/MasterPDFEditor/MasterPDFEditor.desktop
new file mode 100644
index 0000000000..e2ea5a614d
--- /dev/null
+++ b/office/MasterPDFEditor/MasterPDFEditor.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Master PDF Editor 4
+Comment=Edit PDF files
+Exec=/opt/master-pdf-editor-4/masterpdfeditor4 %f
+Path=/opt/master-pdf-editor-4
+Terminal=false
+Icon=/opt/master-pdf-editor-4/masterpdfeditor4.png
+Type=Application
+Categories=Office;Graphics;
+MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;
diff --git a/office/MasterPDFEditor/MasterPDFEditor.info b/office/MasterPDFEditor/MasterPDFEditor.info
index 12e6d63ee1..763c195478 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.info
+++ b/office/MasterPDFEditor/MasterPDFEditor.info
@@ -1,10 +1,10 @@
PRGNAM="MasterPDFEditor"
-VERSION="3.7.10"
-HOMEPAGE="http://code-industry.net/"
-DOWNLOAD="http://get.code-industry.net/public/master-pdf-editor-3.7.10_i386.tar.gz"
-MD5SUM="f9a15a8fe067c51462926b82b97f0392"
-DOWNLOAD_x86_64="http://get.code-industry.net/public/master-pdf-editor-3.7.10_amd64.tar.gz"
-MD5SUM_x86_64="23fe41819fabf797d71bf601b369d276"
+VERSION="4.0.10"
+HOMEPAGE="https://code-industry.net/"
+DOWNLOAD="http://get.code-industry.net/public/master-pdf-editor-4.0.10_i386.tar.gz"
+MD5SUM="49b6a02bc74aa09ce846f1a5470ec555"
+DOWNLOAD_x86_64="http://get.code-industry.net/public/master-pdf-editor-4.0.10_qt4.amd64.tar.gz"
+MD5SUM_x86_64="689fee1287046e1063865783465db197"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/MasterPDFEditor/slack-desc b/office/MasterPDFEditor/slack-desc
index 8b54c4547f..e6a86f9ae5 100644
--- a/office/MasterPDFEditor/slack-desc
+++ b/office/MasterPDFEditor/slack-desc
@@ -15,5 +15,5 @@ MasterPDFEditor: XPS formats, add interactive controls such as buttons, text fie
MasterPDFEditor: check boxes, and event handlers to your documents, split and merge
MasterPDFEditor: PDF files.
MasterPDFEditor:
-MasterPDFEditor: Project URL: http://code-industry.net/
+MasterPDFEditor: Project URL: https://code-industry.net/
MasterPDFEditor: