summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-04-08 11:33:03 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-14 07:06:24 +0700
commit1ed150c0911ac30906d2d1ccf1a76cd204a95b86 (patch)
tree98d519d2fd0fbcc54e3f704793ac6cd689c8c7d5
parent1829132667d12132edc9f2f0bf8457bb29be0e7f (diff)
downloadslackbuilds-1ed150c0911ac30906d2d1ccf1a76cd204a95b86.tar.gz
office/mythes: Minor fixes, updated download.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--office/mythes/README15
-rw-r--r--office/mythes/mythes.SlackBuild10
-rw-r--r--office/mythes/mythes.info6
-rw-r--r--office/mythes/slack-desc4
4 files changed, 17 insertions, 18 deletions
diff --git a/office/mythes/README b/office/mythes/README
index 44bec8c1be..ca85dd0a94 100644
--- a/office/mythes/README
+++ b/office/mythes/README
@@ -1,10 +1,9 @@
-MyThes is a simple thesaurus that uses a structured
-text data file and an index file with binary search
-to lookup words and phrases and return information
-on part of speech, meanings, and synonyms
+MyThes is a simple thesaurus that uses a structured text data file and
+an index file with binary search to lookup words and phrases and return
+information on part of speech, meanings, and synonyms.
-MyThes was originall written to provide a thesaurus
-for the OpenOffice.org project
+MyThes was originall written to provide a thesaurus for the
+OpenOffice.org project.
-MyThes comes with a simple example program that looks up some words and returns
-meanings and synonyms.
+MyThes comes with a simple example program that looks up some words and
+returns meanings and synonyms.
diff --git a/office/mythes/mythes.SlackBuild b/office/mythes/mythes.SlackBuild
index a99732dd90..649d2b012d 100644
--- a/office/mythes/mythes.SlackBuild
+++ b/office/mythes/mythes.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MyThes
-# Copyright 2015 Hunter Sezen California, USA
+# Copyright 2015, 2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ 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
@@ -40,8 +40,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"
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/office/mythes/mythes.info b/office/mythes/mythes.info
index 38b64c163f..f4e2bb0224 100644
--- a/office/mythes/mythes.info
+++ b/office/mythes/mythes.info
@@ -1,10 +1,10 @@
PRGNAM="mythes"
VERSION="1.2.4"
-HOMEPAGE="http://hunspell.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/hunspell/files/MyThes/1.2.4/mythes-1.2.4.tar.gz"
+HOMEPAGE="https://hunspell.github.io/"
+DOWNLOAD="https://downloads.sourceforge.net/project/hunspell/MyThes/1.2.4/mythes-1.2.4.tar.gz"
MD5SUM="a8c2c5b8f09e7ede322d5c602ff6a4b6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Hunter Sezen"
-EMAIL="orbea@fredslev.dk" \ No newline at end of file
+EMAIL="orbea@fredslev.dk"
diff --git a/office/mythes/slack-desc b/office/mythes/slack-desc
index ceb24f3c43..b422ee272d 100644
--- a/office/mythes/slack-desc
+++ b/office/mythes/slack-desc
@@ -10,9 +10,9 @@ mythes: mythes (simple thesaurus)
mythes:
mythes: MyThes is a simple thesaurus that uses a structured text data file
mythes: and an index file with binary search to lookup words and phrases and
-mythes: return information on part of speech, meanings, and synonyms
+mythes: return information on part of speech, meanings, and synonyms.
mythes:
-mythes: Homepage: http://hunspell.sourceforge.net/
+mythes: Homepage: https://hunspell.github.io/
mythes:
mythes:
mythes: