diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-05 07:20:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-05 07:49:23 +0700 |
commit | 847dfe66696fc5c2205a56e080bbfdafc9d525e5 (patch) | |
tree | 7c608f6062df4cedb8557d9797635e2d099b8e81 /office/lyx/lyx.SlackBuild | |
parent | da466abd645b6feaa5b0632665bab0de4fb5cd71 (diff) |
office/lyx: Update source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/lyx/lyx.SlackBuild')
-rw-r--r-- | office/lyx/lyx.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild index 76d574a5fc82..a43528f0654e 100644 --- a/office/lyx/lyx.SlackBuild +++ b/office/lyx/lyx.SlackBuild @@ -11,7 +11,7 @@ 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 @@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM 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" @@ -41,9 +41,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-2 +tar xvf $CWD/$PRGNAM-$VERSION-2.tar.xz +cd $PRGNAM-$VERSION-2 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |