aboutsummaryrefslogtreecommitdiff
path: root/libraries/libindi/libindi.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-15 17:51:23 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:11 +0700
commitcc2cb3e5e28c8a6e1ec897eb909119ab8b108b6d (patch)
treec40bb9a689fe63bb020a9764653915ec04cd795b /libraries/libindi/libindi.SlackBuild
parentba718f06cef4f657c032114fc95924880813e012 (diff)
libraries/libindi: Fix download URL and tarball name.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 6416432157cd..61865568cba0 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"