diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2017-04-08 06:16:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-08 06:16:49 +0700 |
commit | 7202ba65bf813a2b3affa186d518657dfeb60310 (patch) | |
tree | 5d09e6fbd8cfb6cbecc46b4d9d88f35b331acab8 /office/mdp/mdp.SlackBuild | |
parent | a24c38fea509ab6fa930b80fa4354c4e3cfcab6f (diff) |
office/mdp: Updated for version 1.0.9 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/mdp/mdp.SlackBuild')
-rw-r--r-- | office/mdp/mdp.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild index e60e023207768..cf99e46ec0589 100644 --- a/office/mdp/mdp.SlackBuild +++ b/office/mdp/mdp.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for mdp # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -23,7 +24,7 @@ # <http://www.gnu.org/licenses/>. PRGNAM=mdp -VERSION=${VERSION:-1.0.6} +VERSION=${VERSION:-1.0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,7 +41,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -60,11 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/$VERSION.tar.gz ]; then - tar xvf $CWD/$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |