academic/mendeleydesktop: Change i486 to i586

This commit is contained in:
fourtysixandtwo 2022-03-18 19:01:47 -06:00 committed by B. Watson
parent 9d1ca68119
commit 770fec5a34

View file

@ -35,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -53,9 +53,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
ARCH="i486" # mendeleydesktop doesn't have i586/i686 pre-builds.
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then