aboutsummaryrefslogtreecommitdiff
path: root/libraries/libindi/libindi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libindi/libindi.SlackBuild')
-rw-r--r--libraries/libindi/libindi.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libindi/libindi.SlackBuild b/libraries/libindi/libindi.SlackBuild
index 6416432157cd2..61865568cba0d 100644
--- a/libraries/libindi/libindi.SlackBuild
+++ b/libraries/libindi/libindi.SlackBuild
@@ -66,18 +66,20 @@ fi
set -e
+SRCNAM=indi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf indi-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd indi-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"