diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2020-05-22 15:19:42 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-23 09:31:59 +0700 |
commit | 8787d57289c2c33d04d4e26eaad5eb4173e3fe7b (patch) | |
tree | 1195469db2a1292512fae099bc303e7862883b19 /office/focuswriter/focuswriter.SlackBuild | |
parent | 24868a2f1bcdb3f7abbc0fbf9d44453d73a96fa0 (diff) |
office/focuswriter: Updated for version 1.7.6.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/focuswriter/focuswriter.SlackBuild')
-rw-r--r-- | office/focuswriter/focuswriter.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild index c3dec34066436..586ffff733e91 100644 --- a/office/focuswriter/focuswriter.SlackBuild +++ b/office/focuswriter/focuswriter.SlackBuild @@ -3,8 +3,9 @@ # Slackware build script for focuswriter # Copyright 2014 Scalzi Giuseppe Switzerland -# All rights reserved. # Updated 2016 Morten Juhl-Johansen Zölde-Fejér +# Copyright 2020 Isaac Yu <isaacyu1@isaacyu1.com> +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -24,13 +25,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=focuswriter -VERSION=${VERSION:-1.5.7} +VERSION=${VERSION:-1.7.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -69,7 +70,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -qmake PREFIX=/usr +qmake-qt5 PREFIX=/usr make make install INSTALL_ROOT=$PKG |