summaryrefslogtreecommitdiff
path: root/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-14 07:17:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-14 07:17:45 +0700
commit6daf253727e1a34fec0108fa55a8ab632fec78a8 (patch)
tree47d100376b4e08c51e199b4d6671aaffd3174c65 /office/MasterPDFEditor/MasterPDFEditor.SlackBuild
parentc630563b1e89cf4db15a6b05ae8076c5919c15a7 (diff)
downloadslackbuilds-6daf253727e1a34fec0108fa55a8ab632fec78a8.tar.gz
office/MasterPDFEditor: Updated for version 2.2.06.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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