misc/OSCAR: Fix slack-desc, remove template comments from script.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-03 14:00:08 -05:00 committed by Willy Sudiarto Raharjo
parent 49822aed90
commit a11140e05d
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 3 additions and 6 deletions

View file

@ -27,20 +27,18 @@ VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
set -e # Exit on most errors
set -e
PRGSRC_NAME=$PRGNAM-code-v$VERSION-Release-1
rm -rf $PKG

View file

@ -17,4 +17,3 @@ OSCAR:
OSCAR: Homepage: https://www.sleepfiles.com/OSCAR/
OSCAR:
OSCAR:
OSCAR: