aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/lyx/lyx.SlackBuild12
-rw-r--r--office/lyx/lyx.info4
2 files changed, 8 insertions, 8 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 \
diff --git a/office/lyx/lyx.info b/office/lyx/lyx.info
index 449e2627a0a3..fcd75c79160d 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=""