summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild19
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.desktop8
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.info10
3 files changed, 13 insertions, 24 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index 518c3c1046..ad9117d164 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
-VERSION=${VERSION:-2.2.15}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,23 +63,20 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/${SRCNAM}_${VERSION}_${SOURCEARCH}.tar.gz
-mv $SRCNAM $PKG/opt
-cd $PKG/opt/$SRCNAM
+rm -rf $SRCNAM-3
+tar xvf $CWD/${SRCNAM}-${VERSION}_${SOURCEARCH}.tar.gz
+mv $SRCNAM-3 $PKG/opt
+cd $PKG/opt/$SRCNAM-3
mkdir -p $PKG/usr/bin
-( ln -s /opt/$SRCNAM/master-pdf-editor $PKG/usr/bin/master-pdf-editor )
+( ln -s /opt/$SRCNAM/masterpdfeditor3 $PKG/usr/bin/ )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a License.txt changelog $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/
-cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps
-( ln -s /opt/$SRCNAM/master-pdf-editor.png $PKG/usr/share/pixmaps/master-pdf-editor.png )
+mv $PKG/opt/master-pdf-editor-3/masterpdfeditor3.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
deleted file mode 100644
index 924b280b5d..0000000000
--- a/office/MasterPDFEditor/MasterPDFEditor.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Master PDF Editor
-Comment=Edit Your PDF
-Exec=master-pdf-editor
-Icon=master-pdf-editor
-Terminal=false
-Type=Application
-Categories=Office;
diff --git a/office/MasterPDFEditor/MasterPDFEditor.info b/office/MasterPDFEditor/MasterPDFEditor.info
index bf21c52698..545af8c8f0 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.info
+++ b/office/MasterPDFEditor/MasterPDFEditor.info
@@ -1,10 +1,10 @@
PRGNAM="MasterPDFEditor"
-VERSION="2.2.15"
+VERSION="3.1.0"
HOMEPAGE="http://code-industry.net/"
-DOWNLOAD="http://code-industry.net/public/master-pdf-editor_2.2.15_i386.tar.gz"
-MD5SUM="4bde4a5a55e97ff21c333a34e7bde177"
-DOWNLOAD_x86_64="http://code-industry.net/public/master-pdf-editor_2.2.15_amd64.tar.gz"
-MD5SUM_x86_64="78dec29461065e24a90c866bdae51494"
+DOWNLOAD="http://code-industry.net/public/master-pdf-editor-3.1.0_i386.tar.gz"
+MD5SUM="7908bbf257f22cf526e99d345645e75a"
+DOWNLOAD_x86_64="http://code-industry.net/public/master-pdf-editor-3.1.0_amd64.tar.gz"
+MD5SUM_x86_64="18e81c50728443f6e2ea3aad6c93a110"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"