aboutsummaryrefslogtreecommitdiff
path: root/graphics/luxblend25/luxblend25.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/luxblend25/luxblend25.SlackBuild')
-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