summaryrefslogtreecommitdiffstats
path: root/games/chexquest3/chexquest3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/chexquest3/chexquest3.SlackBuild')
-rw-r--r--games/chexquest3/chexquest3.SlackBuild32
1 files changed, 5 insertions, 27 deletions
diff --git a/games/chexquest3/chexquest3.SlackBuild b/games/chexquest3/chexquest3.SlackBuild
index fe60f95d33..3683c71d8b 100644
--- a/games/chexquest3/chexquest3.SlackBuild
+++ b/games/chexquest3/chexquest3.SlackBuild
@@ -2,29 +2,21 @@
# Slackware build script for chexquest3
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# 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