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.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index 57817179a9..81fda19bf2 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MasterPDFEditor
-# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=MasterPDFEditor
-VERSION=${VERSION:-2.1.90}
+SRCNAM=master-pdf-editor
+VERSION=${VERSION:-2.2.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,13 +63,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.$SOURCEARCH.tar.gz
-mv $PRGNAM $PKG/opt
-cd $PKG/opt/$PRGNAM
+rm -rf $SRCNAM
+tar xvf $CWD/${SRCNAM}_${VERSION}_${SOURCEARCH}.tar.gz
+mv $SRCNAM $PKG/opt
+cd $PKG/opt/$SRCNAM
mkdir -p $PKG/usr/bin
-( ln -s /opt/$PRGNAM/master-pdf-editor $PKG/usr/bin/master-pdf-editor )
+( ln -s /opt/$SRCNAM/master-pdf-editor $PKG/usr/bin/master-pdf-editor )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a License.txt changelog $PKG/usr/doc/$PRGNAM-$VERSION