diff options
Diffstat (limited to 'system/zsh-completions/zsh-completions.SlackBuild')
-rw-r--r-- | system/zsh-completions/zsh-completions.SlackBuild | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/system/zsh-completions/zsh-completions.SlackBuild b/system/zsh-completions/zsh-completions.SlackBuild index 0d90c40dd7..2180c8b564 100644 --- a/system/zsh-completions/zsh-completions.SlackBuild +++ b/system/zsh-completions/zsh-completions.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for the zsh-completions. # -# Copyright 2018-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2018-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,18 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zsh-completions -VERSION=${VERSION:-0.33.0} +VERSION=${VERSION:-0.35.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information @@ -50,20 +44,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |