aboutsummaryrefslogtreecommitdiff
path: root/libraries/MyGUI/MyGUI.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-27 20:05:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 08:19:19 +0700
commitd160e4fd22b821a635054ed831a6bddd2e8fcb00 (patch)
tree03098922a28987022389936b719282b44ca338ff /libraries/MyGUI/MyGUI.SlackBuild
parent4a7048dd8100040acae38be5e69223403de371ef (diff)
libraries/MyGUI: Updated for version 3.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/MyGUI/MyGUI.SlackBuild')
-rw-r--r--libraries/MyGUI/MyGUI.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/MyGUI/MyGUI.SlackBuild b/libraries/MyGUI/MyGUI.SlackBuild
index 91b4cbc5573f5..6a0ad93db9d03 100644
--- a/libraries/MyGUI/MyGUI.SlackBuild
+++ b/libraries/MyGUI/MyGUI.SlackBuild
@@ -24,13 +24,13 @@
PRGNAM=MyGUI
SRCNAM=mygui-MyGUI # Yes, really (github)
-VERSION=${VERSION:-3.2.2}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,11 +40,11 @@ CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
UNZIPDIR=$TMP/mygui-$PRGNAM$VERSION
-DOCS="$UNZIPDIR/ChangeLog.txt $UNZIPDIR/COPYING.MIT $UNZIPDIR/Readme.txt"
+DOCS="$UNZIPDIR/ChangeLog.txt $UNZIPDIR/COPYING.MIT"
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM$VERSION
-tar xvf $CWD/$PRGNAM$VERSION.tar.gz || tar xvf $CWD/$SRCNAM$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM$VERSION.tar.gz
cd $SRCNAM$VERSION
chown -R root:root .
find -L . \