system/qstardict: Fix download URL.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-10 04:00:58 -05:00 committed by Willy Sudiarto Raharjo
parent 9ffa59d44e
commit 081c6008fb
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 7 deletions

View file

@ -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

View file

@ -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=""