mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
games/pysolfc: Misc automated cleanups.
Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
45e3396430
commit
1c00cdbed2
1 changed files with 10 additions and 1 deletions
|
@ -25,12 +25,21 @@
|
|||
PRGNAM=PySolFC
|
||||
PKGNAM=pysolfc
|
||||
VERSION=${VERSION:-1.1}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CARDSETS=$PRGNAM-Cardsets-$VERSION
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
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}
|
||||
PKG=$TMP/package-$PKGNAM
|
||||
|
|
Loading…
Reference in a new issue