diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-13 23:36:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-13 23:38:38 +0700 |
commit | 24ca6e49e5c3170dbc066fe5c41f26720b14df7e (patch) | |
tree | 03e83a189d1e425ea219828f7304ce37d1af6b43 /office/MasterPDFEditor/MasterPDFEditor.SlackBuild | |
parent | 85e36634c2bd193680d6f320ffe3184bfad81503 (diff) | |
download | slackbuilds-24ca6e49e5c3170dbc066fe5c41f26720b14df7e.tar.gz |
office/MasterPDFEditor: Updated for version 3.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/MasterPDFEditor/MasterPDFEditor.SlackBuild')
-rw-r--r-- | office/MasterPDFEditor/MasterPDFEditor.SlackBuild | 19 |
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 |