summaryrefslogtreecommitdiffstats
path: root/system/qstardict/qstardict.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/qstardict/qstardict.SlackBuild')
-rw-r--r--system/qstardict/qstardict.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/qstardict/qstardict.SlackBuild b/system/qstardict/qstardict.SlackBuild
index fe1c5a7177..46a4e1c887 100644
--- a/system/qstardict/qstardict.SlackBuild
+++ b/system/qstardict/qstardict.SlackBuild
@@ -5,6 +5,8 @@
# Written by grissiom chaos.proton@gmail.com
# Modified by Branko Grubic <branko.grubic@gmail.com>
+# 20220210 bkw: Modified by SlackBuilds.org: use correct download link.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qstardict
@@ -21,9 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,14 +49,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$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 {} \+
qmake-qt5 ENABLED_PLUGINS="stardict swac web" \
LIB_DIR=/usr/lib$LIBDIRSUFFIX DOCS_DIR=/usr/doc/$PRGNAM-$VERSION