diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-04 22:13:33 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:33 +0700 |
commit | b0f3781da2941022da3b83544ccc08b81a3eba85 (patch) | |
tree | 755e4692c14d288f0d4e56e4714f39e1ae7a183a | |
parent | 8575e99b98140e5da637efd4a883ea1384e1ccc6 (diff) |
games/chexquest3: Use noarch.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/chexquest3/chexquest3.SlackBuild | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/games/chexquest3/chexquest3.SlackBuild b/games/chexquest3/chexquest3.SlackBuild index fe60f95d332a..e32855f1536b 100644 --- a/games/chexquest3/chexquest3.SlackBuild +++ b/games/chexquest3/chexquest3.SlackBuild @@ -6,25 +6,17 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20211004 bkw: Derp! This should have been noarch from the beginning. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=chexquest3 VERSION=${VERSION:-20100924} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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 -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -34,20 +26,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 SRCNAM=ChexQuest3 |