aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-10 04:00:58 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:40 +0700
commit081c6008fb3fb43c39b8e045338ecd58c5067d33 (patch)
tree7357b4a3de3859db9ccc06e34a61760662e82c1e /system
parent9ffa59d44e9870741fbe62d8ae7f7ee877aba044 (diff)
system/qstardict: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/qstardict/qstardict.SlackBuild11
-rw-r--r--system/qstardict/qstardict.info2
2 files changed, 6 insertions, 7 deletions
diff --git a/system/qstardict/qstardict.SlackBuild b/system/qstardict/qstardict.SlackBuild
index fe1c5a7177c6c..46a4e1c887b87 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
diff --git a/system/qstardict/qstardict.info b/system/qstardict/qstardict.info
index 44559f1367e6a..712f079612e97 100644
--- a/system/qstardict/qstardict.info
+++ b/system/qstardict/qstardict.info
@@ -1,7 +1,7 @@
PRGNAM="qstardict"
VERSION="1.3"
HOMEPAGE="http://qstardict.ylsoftware.com/index.php"
-DOWNLOAD="https://github.com/a-rodin/qstardict/archive/qstardict-1.3/qstardict-1.3.tar.gz"
+DOWNLOAD="https://github.com/a-rodin/qstardict/archive/qstardict-1.3/qstardict-qstardict-1.3.tar.gz"
MD5SUM="761600b1c0dbb33b1025a073c72851da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""