summaryrefslogtreecommitdiff
path: root/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/MasterPDFEditor/MasterPDFEditor.SlackBuild')
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild19
1 files changed, 8 insertions, 11 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