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 | |
parent | da466abd645b6feaa5b0632665bab0de4fb5cd71 (diff) | |
download | slackbuilds-847dfe66696fc5c2205a56e080bbfdafc9d525e5.tar.gz |
office/lyx: Update source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/lyx')
-rw-r--r-- | office/lyx/lyx.SlackBuild | 12 | ||||
-rw-r--r-- | office/lyx/lyx.info | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild index 76d574a5fc..a43528f065 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 \ diff --git a/office/lyx/lyx.info b/office/lyx/lyx.info index 449e2627a0..fcd75c7916 100644 --- a/office/lyx/lyx.info +++ b/office/lyx/lyx.info @@ -1,8 +1,8 @@ PRGNAM="lyx" VERSION="2.3.2" HOMEPAGE="http://www.lyx.org" -DOWNLOAD="ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/lyx-2.3.2.tar.gz" -MD5SUM="38a8a50c071b62f3a57ea601e9c34fff" +DOWNLOAD="https://fossies.org/linux/misc/lyx-2.3.2-2.tar.xz" +MD5SUM="b8fd5cae897da39375f68f2023b643f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |