aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--libraries/libindi/libindi.SlackBuild12
-rw-r--r--libraries/libindi/libindi.info2
2 files changed, 8 insertions, 6 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"
diff --git a/libraries/libindi/libindi.info b/libraries/libindi/libindi.info
index b6e36793752c..d3b875819922 100644
--- a/libraries/libindi/libindi.info
+++ b/libraries/libindi/libindi.info
@@ -1,7 +1,7 @@
PRGNAM="libindi"
VERSION="1.9.4"
HOMEPAGE="https://www.indilib.org/"
-DOWNLOAD="https://github.com/indilib/indi/archive/v1.9.4/libindi-1.9.4.tar.gz"
+DOWNLOAD="https://github.com/indilib/indi/archive/v1.9.4/indi-1.9.4.tar.gz"
MD5SUM="cbd65799d01b7aecdc0c70cc78d736b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""