summaryrefslogtreecommitdiff
path: root/libraries/imlib2/imlib2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/imlib2/imlib2.SlackBuild')
-rw-r--r--libraries/imlib2/imlib2.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/imlib2/imlib2.SlackBuild b/libraries/imlib2/imlib2.SlackBuild
index daf9f09c31..cdcc0c5176 100644
--- a/libraries/imlib2/imlib2.SlackBuild
+++ b/libraries/imlib2/imlib2.SlackBuild
@@ -6,11 +6,11 @@
# Modified by the SlackBuilds.org project
PRGNAM=imlib2
-VERSION=1.3.0
+VERSION=1.4.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -23,11 +23,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .