summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2020-05-22 15:19:42 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-23 09:31:59 +0700
commit8787d57289c2c33d04d4e26eaad5eb4173e3fe7b (patch)
tree1195469db2a1292512fae099bc303e7862883b19 /office
parent24868a2f1bcdb3f7abbc0fbf9d44453d73a96fa0 (diff)
downloadslackbuilds-8787d57289c2c33d04d4e26eaad5eb4173e3fe7b.tar.gz
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')
-rw-r--r--office/focuswriter/README7
-rw-r--r--office/focuswriter/focuswriter.SlackBuild13
-rw-r--r--office/focuswriter/focuswriter.info12
-rw-r--r--office/focuswriter/slack-desc4
4 files changed, 20 insertions, 16 deletions
diff --git a/office/focuswriter/README b/office/focuswriter/README
index 61463f8371..0c98992a0c 100644
--- a/office/focuswriter/README
+++ b/office/focuswriter/README
@@ -1,6 +1,9 @@
-FocusWriter is a fullscreen, distraction-free word processor
-designed to immerse you as much as possible in your work.
+FocusWriter is a fullscreen, distraction-free word processor designed
+to immerse you as much as possible in your work.
The program autosaves your progress, and reloads the last files you
had open to make it easy to jump back in during your next writing
session, and has many other features that make it such that only one
thing matters: your writing.
+
+A focuswriter-legacy SlackBuild, which does not depend on qt5,
+is available.
diff --git a/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild
index c3dec34066..586ffff733 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
diff --git a/office/focuswriter/focuswriter.info b/office/focuswriter/focuswriter.info
index 7d11e63118..7e46d02fbc 100644
--- a/office/focuswriter/focuswriter.info
+++ b/office/focuswriter/focuswriter.info
@@ -1,10 +1,10 @@
PRGNAM="focuswriter"
-VERSION="1.5.7"
+VERSION="1.7.6"
HOMEPAGE="https://gottcode.org/focuswriter/"
-DOWNLOAD="https://gottcode.org/focuswriter/focuswriter-1.5.7-src.tar.bz2"
-MD5SUM="088dd0b696b60b3cc6c59793ec5eea6d"
+DOWNLOAD="https://gottcode.org/focuswriter/focuswriter-1.7.6-src.tar.bz2"
+MD5SUM="ba9e316b4bc0c4568d71f7dc3cd64fff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Morten Juhl-Johansen Zölde-Fejér"
-EMAIL="mjjzf@syntaktisk.dk"
+REQUIRES="qt5"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu1@isaacyu1.com"
diff --git a/office/focuswriter/slack-desc b/office/focuswriter/slack-desc
index 32385b11ef..b742081979 100644
--- a/office/focuswriter/slack-desc
+++ b/office/focuswriter/slack-desc
@@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------|
focuswriter: focuswriter (distraction-free word processor)
focuswriter:
-focuswriter: FocusWriter is a fullscreen, distraction-free word processor
-focuswriter: designed to immerse you as much as possible in your work.
+focuswriter: FocusWriter is a fullscreen, distraction-free word processor designed
+focuswriter: to immerse you as much as possible in your work.
focuswriter: The program autosaves your progress, and reloads the last files you
focuswriter: had open to make it easy to jump back in during your next writing
focuswriter: session, and has many other features that make it such that only one