diff options
Diffstat (limited to 'libraries/libsynce')
-rw-r--r-- | libraries/libsynce/libsynce.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/libsynce/libsynce.SlackBuild b/libraries/libsynce/libsynce.SlackBuild index d42fc221e0..c116fac11c 100644 --- a/libraries/libsynce/libsynce.SlackBuild +++ b/libraries/libsynce/libsynce.SlackBuild @@ -2,23 +2,21 @@ # Slackware build script for libsynce # Written by redtricycle (redtricycle@gmail.com) -PRGNAM=libsynce +PRGNAM=libsynce VERSION=${VERSION:-0.13} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# 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} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -36,7 +34,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |