audio/easymp3gain: Fix ARCH section. Change to i586.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
D Woodfall 2023-05-17 00:58:55 +01:00 committed by Willy Sudiarto Raharjo
parent a278e0b9c4
commit 5629028542
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -34,12 +34,13 @@ LCL=${LCL:-gtk2} # otherwise "qt"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i386 ;;
i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if ! [[ "$ARCH" = "x86_64" || "$ARCH" = "i386" ]]; then
# 2023-05-16: DW: use a pattern to allow all x86
if [ "$ARCH" != "x86_64" ] && [[ $ARCH != i?86 ]]; then
printf "\nThis won't build on $ARCH.\n\n"; exit 1
fi