summaryrefslogtreecommitdiff
path: root/libraries/DevIL/DevIL.SlackBuild
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 /libraries/DevIL/DevIL.SlackBuild
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
downloadslackbuilds-687c78d5604ce299d5164ffd69de88f2dd10fefc.tar.gz
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/DevIL/DevIL.SlackBuild')
-rw-r--r--libraries/DevIL/DevIL.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild
index bcd254b1ce..42f8a8040c 100644
--- a/libraries/DevIL/DevIL.SlackBuild
+++ b/libraries/DevIL/DevIL.SlackBuild
@@ -10,12 +10,10 @@ PKG_VERSION=${VERSION}_rc2
BUILD=${BUILD:-3}
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
@@ -41,9 +39,9 @@ fi
set -e
-rm -rf $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$(echo $PKG_VERSION | tr _ -).tar.gz
cd $PRGNAM-$VERSION
@@ -63,7 +61,7 @@ patch -p1 < $CWD/patches/devil-1.6.8-libpng14.patch
# Thanks to David Somero for the heads up on this.
patch -p1 < $CWD/patches/ILvoid_fix_1.diff
patch -p1 < $CWD/patches/ILvoid_fix_2.diff
-# There is a space in the filename's path, so we have to cd into
+# There is a space in the filename's path, so we have to cd into
# the offending directory before patching.
( cd cpp\ wrapper
patch < $CWD/patches/ILvoid_fix_3.diff