office/MasterPDFEditor: Updated for version 3.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-06-13 23:36:53 +07:00
parent 85e36634c2
commit 24ca6e49e5
3 changed files with 13 additions and 24 deletions

View File

@ -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

View File

@ -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;

View File

@ -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"