aboutsummaryrefslogtreecommitdiff
path: root/graphics/luxblend25
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /graphics/luxblend25
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/luxblend25')
-rw-r--r--graphics/luxblend25/luxblend25.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/luxblend25/luxblend25.SlackBuild b/graphics/luxblend25/luxblend25.SlackBuild
index 63145050eb0bc..f4eab84690033 100644
--- a/graphics/luxblend25/luxblend25.SlackBuild
+++ b/graphics/luxblend25/luxblend25.SlackBuild
@@ -21,7 +21,7 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+
PRGNAM=luxblend25
VERSION=${VERSION:-1.1}
@@ -30,7 +30,7 @@ TAG=${TAG:-_SBo}
SRCVERSION=luxblend25-3a928b723b29
blender_version()
{
-
+
BLENDER_HEADER=`/opt/blender/blender --version 2>&1 | head -n 1`
BLENDER_IMPL=`echo ${BLENDER_HEADER} | cut -f1 -d' '`
if [ "$BLENDER_IMPL" = "Blender" ] ; then
@@ -42,12 +42,10 @@ blender_version
BLENDER_PLUGIN_DIR=/opt/blender/$BLENDER_VERSION/scripts/addons
-# 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
@@ -71,7 +69,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT