mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
misc/OSCAR: Fix slack-desc, remove template comments from script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
49822aed90
commit
a11140e05d
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -17,4 +17,3 @@ OSCAR:
|
|||
OSCAR: Homepage: https://www.sleepfiles.com/OSCAR/
|
||||
OSCAR:
|
||||
OSCAR:
|
||||
OSCAR:
|
||||
|
|
Loading…
Reference in a new issue