From 847dfe66696fc5c2205a56e080bbfdafc9d525e5 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 5 Jan 2019 07:20:51 +0700 Subject: office/lyx: Update source. Signed-off-by: Willy Sudiarto Raharjo --- office/lyx/lyx.SlackBuild | 12 ++++++------ office/lyx/lyx.info | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'office') diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild index 76d574a5fc82f..a43528f0654e9 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 449e2627a0a36..fcd75c79160de 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="" -- cgit v1.2.3